[ros-diffs] [tkreuzer] 40760: Merge from trunk what got lost

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri May 1 14:52:28 CEST 2009


Author: tkreuzer
Date: Fri May  1 16:52:27 2009
New Revision: 40760

URL: http://svn.reactos.org/svn/reactos?rev=40760&view=rev
Log:
Merge from trunk what got lost

Modified:
    branches/ros-amd64-bringup/reactos/tools/rsym/rsym.c

Modified: branches/ros-amd64-bringup/reactos/tools/rsym/rsym.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools/rsym/rsym.c?rev=40760&r1=40759&r2=40760&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rsym/rsym.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rsym/rsym.c [iso-8859-1] Fri May  1 16:52:27 2009
@@ -489,7 +489,7 @@
   *ProcessedRelocs = malloc(RelocSectionHeader->SizeOfRawData);
   if (NULL == *ProcessedRelocs)
     {
-      fprintf(stderr, "Failed to allocate %lu bytes for relocations\n", RelocSectionHeader->SizeOfRawData);
+      fprintf(stderr, "Failed to allocate %u bytes for relocations\n", (unsigned int)RelocSectionHeader->SizeOfRawData);
       return 1;
     }
   *ProcessedRelocsLength = 0;
@@ -565,7 +565,7 @@
   OutHeader = malloc(StartOfRawData);
   if (NULL == OutHeader)
     {
-      fprintf(stderr, "Failed to allocate %lu bytes for output file header\n", StartOfRawData);
+      fprintf(stderr, "Failed to allocate %u bytes for output file header\n", (unsigned int)StartOfRawData);
       return 1;
     }
   memset(OutHeader, '\0', StartOfRawData);
@@ -678,7 +678,7 @@
       PaddedRosSym = malloc(RosSymFileLength);
       if (NULL == PaddedRosSym)
         {
-          fprintf(stderr, "Failed to allocate %lu bytes for padded .rossym\n", RosSymFileLength);
+          fprintf(stderr, "Failed to allocate %u bytes for padded .rossym\n", (unsigned int)RosSymFileLength);
           return 1;
         }
       memcpy(PaddedRosSym, RosSymSection, RosSymLength);



More information about the Ros-diffs mailing list