Skip to content

Commit

Permalink
Small cast
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 20, 2020
1 parent d30ba7f commit 828dad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pconvert/pconvert.c
Expand Up @@ -38,7 +38,7 @@ ERROR_T libpng_version(char *buffer) {
/* retrieves the libpng version value and then extracts
the multiple parts from it */
version = png_access_version_number();
sprintf(version_s, "%06d", version);
sprintf(version_s, "%06d", (int) version);

memcpy(major_s, &version_s[0], 2);
memcpy(medium_s, &version_s[2], 2);
Expand Down

0 comments on commit 828dad8

Please sign in to comment.