projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e24dfac
)
Use G_GINT64_CONSTANT here
author
Christian Persch
<chpe@gnome.org>
Sun, 31 Oct 2010 01:40:28 +0000
(21:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 Oct 2010 01:40:28 +0000
(21:40 -0400)
Bug #631482.
glib/gdatetime.c
patch
|
blob
|
history
diff --git
a/glib/gdatetime.c
b/glib/gdatetime.c
index 4ad380784ce1d046648a4df6335cb258f272e137..f51c400fe196c5f4aacfef9a40a7c2288f070407 100644
(file)
--- a/
glib/gdatetime.c
+++ b/
glib/gdatetime.c
@@
-481,7
+481,7
@@
g_date_time_from_instant (GTimeZone *tz,
GDateTime *datetime;
gint64 offset;
- if (instant < 0 || instant >
1000000000000000000
)
+ if (instant < 0 || instant >
G_GINT64_CONSTANT (1000000000000000000)
)
return NULL;
datetime = g_date_time_alloc (tz);