Commit 027bd21b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winemac: Fix remaining printf format warnings.

parent abec83e5
......@@ -132,12 +132,12 @@ HKEY open_hkcu_key(const char *name)
sid = ((TOKEN_USER *)sid_data)->User.Sid;
len = sprintf(buffer, "\\Registry\\User\\S-%u-%u", sid->Revision,
MAKELONG(MAKEWORD(sid->IdentifierAuthority.Value[5],
sid->IdentifierAuthority.Value[4]),
MAKEWORD(sid->IdentifierAuthority.Value[3],
sid->IdentifierAuthority.Value[2])));
(unsigned int)MAKELONG(MAKEWORD(sid->IdentifierAuthority.Value[5],
sid->IdentifierAuthority.Value[4]),
MAKEWORD(sid->IdentifierAuthority.Value[3],
sid->IdentifierAuthority.Value[2])));
for (i = 0; i < sid->SubAuthorityCount; i++)
len += sprintf(buffer + len, "-%u", sid->SubAuthority[i]);
len += sprintf(buffer + len, "-%u", (unsigned int)sid->SubAuthority[i]);
ascii_to_unicode(bufferW, buffer, len);
hkcu = reg_open_key(NULL, bufferW, len * sizeof(WCHAR));
......
......@@ -76,7 +76,7 @@ struct wgl_context
BOOL sharing;
LONG update_swap_interval;
LONG view_moved;
DWORD last_flush_time;
unsigned int last_flush_time;
UINT major;
};
......@@ -2222,7 +2222,7 @@ static void macdrv_glFlush(void)
if (skip_single_buffer_flushes)
{
const pixel_format *pf = &pixel_formats[context->format - 1];
DWORD now = NtGetTickCount();
unsigned int now = NtGetTickCount();
TRACE("double buffer %d last flush time %d now %d\n", (int)pf->double_buffer,
context->last_flush_time, now);
......
......@@ -87,7 +87,7 @@ struct init_params
/* macdrv_notify_icon params */
struct notify_icon_params
{
DWORD msg;
unsigned int msg;
struct _NOTIFYICONDATAW *data;
};
......
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