Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change a printf conversion flag for sizeof().
Using %d was causing a compiler warning, %zu should be better.
  • Loading branch information
d-lamb committed Oct 3, 2016
1 parent 3efdac2 commit eac1d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Basic/Core/pdlapi.c
Expand Up @@ -144,7 +144,7 @@ pdl* pdl_create(int type) {
it->magic = 0;
it->hdrsv = 0;

PDLDEBUG_f(printf("CREATE %p (size=%d)\n",(void*)it,sizeof(pdl)));
PDLDEBUG_f(printf("CREATE %p (size=%zu)\n",(void*)it,sizeof(pdl)));
return it;
}

Expand Down

0 comments on commit eac1d8b

Please sign in to comment.