Skip to content

Commit

Permalink
Fix incorrect format string in smem_container::dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent 2aa3eb1 commit ebcc62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/xrsharedmem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void smem_container::dump ()
cdb::iterator end = container.end ();
FILE* F = fopen("x:\\$smem_dump$.txt","w");
for (; it!=end; it++)
fprintf (F,"%4d : crc[%6x], %d bytes\n",(*it)->dwReference,(*it)->dwCRC,(*it)->dwLength);
fprintf (F,"%4u : crc[%6x], %u bytes\n",(*it)->dwReference,(*it)->dwCRC,(*it)->dwLength);
fclose (F);
cs.Leave ();
}
Expand Down

0 comments on commit ebcc62b

Please sign in to comment.