PATCH: signedness in loader.c
Marcus Meissner
marcus at jet.franken.de
Sun Jul 10 04:05:25 CDT 2005
Hi,
Changelog:
Fixed 2 signedness warnings.
Index: libs/wine/loader.c
===================================================================
RCS file: /home/wine/wine/libs/wine/loader.c,v
retrieving revision 1.25
diff -u -r1.25 loader.c
--- libs/wine/loader.c 10 May 2005 15:13:20 -0000 1.25
+++ libs/wine/loader.c 10 Jul 2005 09:04:47 -0000
@@ -305,7 +305,7 @@
/* Build the code section */
- strcpy( sec->Name, ".text" );
+ strcpy( (char*)sec->Name, ".text" );
sec->SizeOfRawData = data_start - code_start;
sec->Misc.VirtualSize = sec->SizeOfRawData;
sec->VirtualAddress = code_start;
@@ -315,7 +315,7 @@
/* Build the data section */
- strcpy( sec->Name, ".data" );
+ strcpy( (char*)sec->Name, ".data" );
sec->SizeOfRawData = data_end - data_start;
sec->Misc.VirtualSize = sec->SizeOfRawData;
sec->VirtualAddress = data_start;
--
More information about the wine-patches
mailing list