mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-02 12:06:53 +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
|
static guint64
|
||||||
gettime (void)
|
gettime (void)
|
||||||
{
|
{
|
||||||
return g_get_monotonic_time () * 1000;
|
return (guint64) g_get_monotonic_time () * 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
guint64 (*g_thread_gettime) (void) = gettime;
|
guint64 (*g_thread_gettime) (void) = gettime;
|
||||||
@ -803,8 +803,8 @@ guint
|
|||||||
g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex)
|
g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex)
|
||||||
{
|
{
|
||||||
GRecMutex *rm;
|
GRecMutex *rm;
|
||||||
gint depth;
|
guint depth;
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
rm = g_static_rec_mutex_get_rec_mutex_impl (mutex);
|
rm = g_static_rec_mutex_get_rec_mutex_impl (mutex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user