diff options
author | Eion Robb <eion@robbmob.com> | 2014-12-27 08:11:27 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2014-12-27 08:11:27 +0300 |
commit | e164df4e141652f51b087067aa1dd8c19b20afd3 (patch) | |
tree | 30af73fa19c40a169cd9552907c105d956c547da | |
parent | f30d11fb877643a8d6bce81d17023467fc9b778e (diff) |
SkypeWeb : Fix for js time going into the negatives on 32bit systems, causing sent messages to duplicate
-rw-r--r-- | skypeweb/skypeweb_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skypeweb/skypeweb_util.c b/skypeweb/skypeweb_util.c index 0cff64f..580dc74 100644 --- a/skypeweb/skypeweb_util.c +++ b/skypeweb/skypeweb_util.c @@ -200,7 +200,7 @@ skypeweb_get_js_time() g_get_current_time (&val);
- return (val.tv_sec * 1000) + (val.tv_usec / 1000);
+ return (((gint64) val.tv_sec) * 1000) + (val.tv_usec / 1000);
}
/* copied from oscar.c to be libpurple 2.1 compatible */
|