Author: tkreuzer
Date: Tue Jun 7 20:16:52 2011
New Revision: 52137
URL:
http://svn.reactos.org/svn/reactos?rev=52137&view=rev
Log:
[OBJ2BIN]
- Fix warnings
Modified:
trunk/reactos/tools/obj2bin/obj2bin.c
Modified: trunk/reactos/tools/obj2bin/obj2bin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/obj2bin/obj2bin.c?re…
==============================================================================
--- trunk/reactos/tools/obj2bin/obj2bin.c [iso-8859-1] (original)
+++ trunk/reactos/tools/obj2bin/obj2bin.c [iso-8859-1] Tue Jun 7 20:16:52 2011
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "../pecoff.h"
static
@@ -17,7 +18,8 @@
FILE *pSourceFile, *pDestFile;
IMAGE_FILE_HEADER FileHeader;
IMAGE_SECTION_HEADER SectionHeader;
- unsigned int i, nSize;
+ unsigned int i;
+ size_t nSize;
void *pData;
if ((argc != 3) || (strcmp(argv[1], "--help") == 0)) Usage();