]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix 'integer constant is too large' in x86 build (http.c)
authorvirtualdj <virtualdj@libero.it>
Wed, 20 Jul 2016 18:10:35 +0000 (20:10 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 11 Aug 2016 13:43:06 +0000 (15:43 +0200)
src/http.c

index 5d8ca15d7aa0f343c1ed3c1b26ee52b58758c6a9..37dcc8112846d0d218d987fedfe068f31dbaaf3e 100644 (file)
@@ -261,7 +261,7 @@ http_get_nonce(void)
 
   while (1) {
     mono = getmonoclock();
-    mono ^= 0xa1687211885fcd30;
+    mono ^= 0xa1687211885fcd30LL;
     snprintf(stamp, sizeof(stamp), "%"PRId64, mono);
     m = md5sum(stamp, 1);
     strcpy(n->nonce, m);