Commit a831f2a1 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some warnings.

parent ae876020
...@@ -1153,7 +1153,7 @@ TOOLBAR_AddBitmap (HWND hwnd, WPARAM wParam, LPARAM lParam) ...@@ -1153,7 +1153,7 @@ TOOLBAR_AddBitmap (HWND hwnd, WPARAM wParam, LPARAM lParam)
if (infoPtr->nNumBitmaps + nButtons != imagecount) if (infoPtr->nNumBitmaps + nButtons != imagecount)
{ {
WARN("Desired images do not match recieved images : Previous image number %s Previous images in list %i added %i expecting total %i, Images in list %i\n", WARN("Desired images do not match recieved images : Previous image number %i Previous images in list %i added %i expecting total %i, Images in list %i\n",
infoPtr->nNumBitmaps, nCount, imagecount - nCount, infoPtr->nNumBitmaps, nCount, imagecount - nCount,
infoPtr->nNumBitmaps+nButtons,imagecount); infoPtr->nNumBitmaps+nButtons,imagecount);
......
...@@ -2185,9 +2185,9 @@ LPSTR WINAPI PathFindNextComponentA(LPCSTR pszPath) ...@@ -2185,9 +2185,9 @@ LPSTR WINAPI PathFindNextComponentA(LPCSTR pszPath)
while( *pszPath ) while( *pszPath )
{ {
if(*pszPath++=='\\') if(*pszPath++=='\\')
return pszPath; return (LPSTR) pszPath;
} }
return pszPath; return (LPSTR) pszPath;
} }
/************************************************************************* /*************************************************************************
...@@ -2198,9 +2198,9 @@ LPWSTR WINAPI PathFindNextComponentW(LPCWSTR pszPath) ...@@ -2198,9 +2198,9 @@ LPWSTR WINAPI PathFindNextComponentW(LPCWSTR pszPath)
while( *pszPath ) while( *pszPath )
{ {
if(*pszPath++=='\\') if(*pszPath++=='\\')
return pszPath; return (LPWSTR) pszPath;
} }
return pszPath; return (LPWSTR) pszPath;
} }
/************************************************************************* /*************************************************************************
......
...@@ -1252,8 +1252,8 @@ static int BuildSpec32File( FILE *outfile ) ...@@ -1252,8 +1252,8 @@ static int BuildSpec32File( FILE *outfile )
fprintf( outfile, "extern char pe_header[];\n" ); fprintf( outfile, "extern char pe_header[];\n" );
fprintf( outfile, "asm(\".section .text\\n\\t\"\n" ); fprintf( outfile, "asm(\".section .text\\n\\t\"\n" );
fprintf( outfile, " \".align %d\\n\"\n", page_size ); fprintf( outfile, " \".align %ld\\n\"\n", page_size );
fprintf( outfile, " \"pe_header:\\t.fill %d,1,0\\n\\t\");\n", page_size ); fprintf( outfile, " \"pe_header:\\t.fill %ld,1,0\\n\\t\");\n", page_size );
fprintf( outfile, "static const char dllname[] = \"%s\";\n", DLLName ); fprintf( outfile, "static const char dllname[] = \"%s\";\n", DLLName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment