mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 19:52:48 +00:00
winemac: Fix remaining printf format warnings.
This commit is contained in:
parent
abec83e509
commit
027bd21b0c
|
@ -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],
|
||||
(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 @@
|
|||
/* macdrv_notify_icon params */
|
||||
struct notify_icon_params
|
||||
{
|
||||
DWORD msg;
|
||||
unsigned int msg;
|
||||
struct _NOTIFYICONDATAW *data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue