mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 09:09:49 +00:00
Fix some x64 type conversion warnings.
This commit is contained in:
parent
eab2f8dca2
commit
7a7e5ccb0b
@ -1363,7 +1363,7 @@ int sceKernelAllocateTls(SceUID uid)
|
||||
for (size_t i = 0; i < tls->ntls.totalBlocks && allocBlock == -1; ++i)
|
||||
{
|
||||
if (tls->usage[i] == threadID)
|
||||
allocBlock = i;
|
||||
allocBlock = (int) i;
|
||||
}
|
||||
|
||||
if (allocBlock == -1)
|
||||
@ -1412,7 +1412,7 @@ int sceKernelFreeTls(SceUID uid)
|
||||
{
|
||||
if (tls->usage[i] == threadID)
|
||||
{
|
||||
freeBlock = i;
|
||||
freeBlock = (int) i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ namespace W32Util
|
||||
sheet.dwFlags |= PSH_USEHICON;
|
||||
|
||||
sheet.pszCaption = title.c_str();
|
||||
sheet.nPages = list.size();
|
||||
sheet.nPages = (UINT)list.size();
|
||||
sheet.phpage = pages;
|
||||
sheet.nStartPage = startpage;
|
||||
sheet.pfnCallback = (PFNPROPSHEETCALLBACK)Callback;
|
||||
|
@ -966,7 +966,7 @@ namespace MainWindow
|
||||
BitBlt(hbm, hdc, 0, 0, rc.right - rc.left, rc.bottom - rc.top, rc.left, rc.top);
|
||||
char str[11];
|
||||
GetWindowTextA(hEdit, str, 10);
|
||||
DrawTextA(hdc, str, strlen(str), &clientrc, DT_CENTER|DT_SINGLELINE);
|
||||
DrawTextA(hdc, str, (int)strlen(str), &clientrc, DT_CENTER|DT_SINGLELINE);
|
||||
return (LRESULT)GetStockObject(NULL_BRUSH);
|
||||
}
|
||||
case WM_COMMAND:
|
||||
|
Loading…
Reference in New Issue
Block a user