File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
saxbospiral/render_backends Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ sxbp_status_t sxbp_render_backend_pbm(
6666 // these are used to keep track of how many digits each is
6767 int width_string_length , height_string_length = 0 ;
6868 // convert width and height to a decimal string, store lengths
69- width_string_length = sprintf (width_string , PRIu64 , bitmap .width );
70- height_string_length = sprintf (height_string , PRIu64 , bitmap .height );
69+ width_string_length = sprintf (width_string , "%" PRIu64 , bitmap .width );
70+ height_string_length = sprintf (height_string , "%" PRIu64 , bitmap .height );
7171 /*
7272 * now that we know the length of the image dimension strings, we can now
7373 * calculate how much memory we'll have to allocate for the image buffer
You can’t perform that action at this time.
0 commit comments