mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
Fix errors in the recently moved time calculations. (#395203, Chris
2007-01-12 Matthias Clasen <mclasen@redhat.com> * gthread/gthread-posix.c: * glib/gtimer.c: * glib/gthread.c: Fix errors in the recently moved time calculations. (#395203, Chris Wilson) svn path=/trunk/; revision=5244
This commit is contained in:
committed by
Matthias Clasen
parent
a0c1c3b14e
commit
2c7dbe9c73
@@ -557,7 +557,7 @@ gettime (void)
|
||||
|
||||
gettimeofday (&tv, NULL);
|
||||
|
||||
return tv.tv_sec * 1e9 + tv.tv_usec * 1000;
|
||||
return (guint64) tv.tv_sec * 1000000000 + tv.tv_usec * 1000;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user