mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-29 10:36:52 +02:00
gthread-deprecated: Fix some -Wsign-conversion warnings
These weren’t bugs. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3405
This commit is contained in:
parent
9aa4f9f9c3
commit
40dd9ea9e0
@ -135,7 +135,7 @@ GThreadFunctions g_thread_functions_for_glib_use =
|
||||
static guint64
|
||||
gettime (void)
|
||||
{
|
||||
return g_get_monotonic_time () * 1000;
|
||||
return (guint64) g_get_monotonic_time () * 1000;
|
||||
}
|
||||
|
||||
guint64 (*g_thread_gettime) (void) = gettime;
|
||||
@ -803,8 +803,8 @@ guint
|
||||
g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex)
|
||||
{
|
||||
GRecMutex *rm;
|
||||
gint depth;
|
||||
gint i;
|
||||
guint depth;
|
||||
guint i;
|
||||
|
||||
rm = g_static_rec_mutex_get_rec_mutex_impl (mutex);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user