mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
Fix building with GCC4
svn path=/trunk/; revision=24502
This commit is contained in:
parent
728ea14e4f
commit
25bc0553d1
|
@ -46,7 +46,7 @@ static int m_argc = 0;
|
||||||
static char **m_argv = NULL;
|
static char **m_argv = NULL;
|
||||||
|
|
||||||
/* patch buffer where we put the patch info into */
|
/* 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;
|
PATCH_BUFFER_MAGIC;
|
||||||
|
|
||||||
/** HELPER FUNCTIONS **********************************************************/
|
/** HELPER FUNCTIONS **********************************************************/
|
||||||
|
@ -211,7 +211,7 @@ compareFiles(
|
||||||
static int
|
static int
|
||||||
outputPatch(const char *outputFileName)
|
outputPatch(const char *outputFileName)
|
||||||
{
|
{
|
||||||
unsigned char *patchExe, *patchBuffer = NULL;
|
char *patchExe, *patchBuffer = NULL;
|
||||||
int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset;
|
int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset;
|
||||||
Patch *patch;
|
Patch *patch;
|
||||||
PatchedFile *files;
|
PatchedFile *files;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<module name="partinfo" type="win32cui" installbase="bin" installname="partinfo.exe">
|
<module name="partinfo" type="win32cui" installbase="bin" installname="partinfo.exe" allowwarnings="true">
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<library>msvcrt</library>
|
<library>msvcrt</library>
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
|
|
Loading…
Reference in a new issue