Skip to content

Commit

Permalink
Remove compile warnings from %d -> %ld
Browse files Browse the repository at this point in the history
  • Loading branch information
DasVinch committed Aug 29, 2024
1 parent 1ee867c commit 172c6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/COREMOD_memory/stream_pixmapdecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,14 @@ imageID COREMOD_MEMORY_PixMapDecode_U(
processinfo_loopstart(
processinfo); // Notify processinfo that we are entering loop

printf("cnt0: %d; loopOK %d\n", data.image[IDin].md[0].cnt0, loopOK);
printf("cnt0: %ld; loopOK %d\n", data.image[IDin].md[0].cnt0, loopOK);
fflush(stdout);

// long loopcnt = 0;
while(loopOK == 1)
{
loopOK = processinfo_loopstep(processinfo);
printf("cnt0: %d; loopOK %d\n", data.image[IDin].md[0].cnt0, loopOK);
printf("cnt0: %ld; loopOK %d\n", data.image[IDin].md[0].cnt0, loopOK);
fflush(stdout);

if(data.image[IDin].md[0].sem == 0)
Expand Down

0 comments on commit 172c6f2

Please sign in to comment.