From 25bc0553d1194911484a2150ea453f4165b60ac9 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 13 Oct 2006 12:52:24 +0000 Subject: [PATCH] Fix building with GCC4 svn path=/trunk/; revision=24502 --- reactos/base/applications/utils/binpatch/patch.c | 4 ++-- reactos/base/applications/utils/partinfo/partinfo.rbuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/base/applications/utils/binpatch/patch.c b/reactos/base/applications/utils/binpatch/patch.c index 09aad41c1cc..abb7841d391 100644 --- a/reactos/base/applications/utils/binpatch/patch.c +++ b/reactos/base/applications/utils/binpatch/patch.c @@ -46,7 +46,7 @@ static int m_argc = 0; static char **m_argv = NULL; /* patch buffer where we put the patch info into */ -static unsigned char m_patchBuffer[SIZEOF_PATCH_BUFFER_MAGIC + PATCH_BUFFER_SIZE] = +static char m_patchBuffer[SIZEOF_PATCH_BUFFER_MAGIC + PATCH_BUFFER_SIZE] = PATCH_BUFFER_MAGIC; /** HELPER FUNCTIONS **********************************************************/ @@ -211,7 +211,7 @@ compareFiles( static int outputPatch(const char *outputFileName) { - unsigned char *patchExe, *patchBuffer = NULL; + char *patchExe, *patchBuffer = NULL; int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset; Patch *patch; PatchedFile *files; diff --git a/reactos/base/applications/utils/partinfo/partinfo.rbuild b/reactos/base/applications/utils/partinfo/partinfo.rbuild index 3e93ca71e1a..a655bcbf2d9 100644 --- a/reactos/base/applications/utils/partinfo/partinfo.rbuild +++ b/reactos/base/applications/utils/partinfo/partinfo.rbuild @@ -1,4 +1,4 @@ - + msvcrt kernel32