Fixed some warnings.
This commit is contained in:
parent
ae8760201c
commit
a831f2a1e7
|
@ -1153,7 +1153,7 @@ TOOLBAR_AddBitmap (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
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+nButtons,imagecount);
|
||||
|
||||
|
|
|
@ -2185,9 +2185,9 @@ LPSTR WINAPI PathFindNextComponentA(LPCSTR pszPath)
|
|||
while( *pszPath )
|
||||
{
|
||||
if(*pszPath++=='\\')
|
||||
return pszPath;
|
||||
return (LPSTR) pszPath;
|
||||
}
|
||||
return pszPath;
|
||||
return (LPSTR) pszPath;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -2198,9 +2198,9 @@ LPWSTR WINAPI PathFindNextComponentW(LPCWSTR pszPath)
|
|||
while( *pszPath )
|
||||
{
|
||||
if(*pszPath++=='\\')
|
||||
return pszPath;
|
||||
return (LPWSTR) pszPath;
|
||||
}
|
||||
return pszPath;
|
||||
return (LPWSTR) pszPath;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -1252,8 +1252,8 @@ static int BuildSpec32File( FILE *outfile )
|
|||
|
||||
fprintf( outfile, "extern char pe_header[];\n" );
|
||||
fprintf( outfile, "asm(\".section .text\\n\\t\"\n" );
|
||||
fprintf( outfile, " \".align %d\\n\"\n", page_size );
|
||||
fprintf( outfile, " \"pe_header:\\t.fill %d,1,0\\n\\t\");\n", page_size );
|
||||
fprintf( outfile, " \".align %ld\\n\"\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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue