Commit d1613f60 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Fix pointer cast warnings on 64-bit.

parent e2e4da97
...@@ -2394,7 +2394,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam, ...@@ -2394,7 +2394,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
SPI_SETFONTSMOOTHINGTYPE_VALNAME, SPI_SETFONTSMOOTHINGTYPE_VALNAME,
(LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni )) (LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni ))
{ {
font_smoothing_type = (UINT)pvParam; font_smoothing_type = PtrToUlong(pvParam);
spi_loaded[spi_idx] = TRUE; spi_loaded[spi_idx] = TRUE;
} }
else else
...@@ -2424,7 +2424,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam, ...@@ -2424,7 +2424,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
SPI_SETFONTSMOOTHINGCONTRAST_VALNAME, SPI_SETFONTSMOOTHINGCONTRAST_VALNAME,
(LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni )) (LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni ))
{ {
font_smoothing_contrast = (UINT)pvParam; font_smoothing_contrast = PtrToUlong(pvParam);
spi_loaded[spi_idx] = TRUE; spi_loaded[spi_idx] = TRUE;
} }
else else
...@@ -2458,7 +2458,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam, ...@@ -2458,7 +2458,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
SPI_SETFONTSMOOTHINGORIENTATION_VALNAME, SPI_SETFONTSMOOTHINGORIENTATION_VALNAME,
(LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni )) (LPBYTE)&pvParam, sizeof(UINT), REG_DWORD, fWinIni ))
{ {
font_smoothing_orientation = (UINT)pvParam; font_smoothing_orientation = PtrToUlong(pvParam);
spi_loaded[spi_idx] = TRUE; spi_loaded[spi_idx] = TRUE;
} }
else else
......
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