[ros-diffs] [weiden] 15825: use %lu instead of %d for unsigned formatting

weiden at svn.reactos.com weiden at svn.reactos.com
Tue Jun 7 15:53:42 CEST 2005


use %lu instead of %d for unsigned formatting
Modified: trunk/reactos/subsys/system/usetup/usetup.c
  _____  

Modified: trunk/reactos/subsys/system/usetup/usetup.c
--- trunk/reactos/subsys/system/usetup/usetup.c	2005-06-07 13:51:58 UTC
(rev 15824)
+++ trunk/reactos/subsys/system/usetup/usetup.c	2005-06-07 13:53:37 UTC
(rev 15825)
@@ -1716,7 +1716,7 @@

 				strlen (Buffer),
 				coPos);
 
-  sprintf(Buffer, "%d", MaxSize);
+  sprintf(Buffer, "%lu", MaxSize);
   Index = strlen(Buffer);
   DrawInputField (PARTITION_SIZE_INPUT_FIELD_LENGTH,
 		  iLeft,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050607/569b0cb4/attachment.html


More information about the Ros-diffs mailing list