mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 20:48:02 +02:00
Fix warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion].
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89284 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
d0fe556af1
commit
50369c1219
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@
|
|||
/* a hack to avoid having to depend on the static -util version of libdbus;
|
||||
* it's useful for ancillary programs to be able to use the shared library */
|
||||
void
|
||||
tool_millisleep (int ms)
|
||||
tool_millisleep (unsigned int ms)
|
||||
{
|
||||
#ifdef DBUS_WIN
|
||||
Sleep (ms);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#define VERBOSE(...) do {} while (0)
|
||||
#endif
|
||||
|
||||
void tool_millisleep (int ms);
|
||||
void tool_millisleep (unsigned int ms);
|
||||
void tool_oom (const char *doing) _DBUS_GNUC_NORETURN;
|
||||
dbus_bool_t tool_write_all (int fd, const void *buf, size_t size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue