[Live-devel] [PATCH] Fix type of too long constant
Pierre Ynard
linkfanel at yahoo.fr
Tue Nov 10 16:25:17 PST 2009
This fixes the error:
GroupsockHelper.cpp:731: error: integer constant is too large for 'long' type
diff -urp live.orig/groupsock/GroupsockHelper.cpp live/groupsock/GroupsockHelper.cpp
--- live.orig/groupsock/GroupsockHelper.cpp 2009-09-28 17:16:16.000000000 +0200
+++ live/groupsock/GroupsockHelper.cpp 2009-11-11 01:10:28.000000000 +0100
@@ -728,7 +728,7 @@ char const* timestampString() {
int gettimeofday(struct timeval* tp, int* /*tz*/) {
#if defined(_WIN32_WCE)
/* FILETIME of Jan 1 1970 00:00:00. */
- static const unsigned __int64 epoch = 116444736000000000L;
+ static const unsigned __int64 epoch = 116444736000000000LL;
FILETIME file_time;
SYSTEMTIME system_time;
Regards,
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the live-devel
mailing list