diff -r ../pari-2.8-1598-gfa553d7/src/basemath/alglin1.c pari-2.8-1598-gfa553d7/src/basemath/alglin1.c 441c441 < for (j = 1; ; j++, e >>= 1) if (e & 1uL) return i*BITS_IN_LONG+j; --- > for (j = 1; ; j++, e >>= 1) if (e & 1UL) return i*BITS_IN_LONG+j; 460c460 < if (remsBIL(m)) c[l] = (1uL< if (remsBIL(m)) c[l] = (1UL< if (remsBIL(m)) c[l] = (1UL< p = 1000000000000000000L; 2171c2171 < p = 1000000000; --- > p = 1000000000L; diff -r ../pari-2.8-1598-gfa553d7/src/basemath/arith2.c pari-2.8-1598-gfa553d7/src/basemath/arith2.c 374c374 < if (maxnum < 1ul<<17) { initprimes1(maxnum>>1, lenp, lastp, p1); return; } --- > if (maxnum < 1UL<<17) { initprimes1(maxnum>>1, lenp, lastp, p1); return; } diff -r ../pari-2.8-1598-gfa553d7/src/basemath/elliptic.c pari-2.8-1598-gfa553d7/src/basemath/elliptic.c 4873,4874c4873,4874 < case -147197952000: CM = -67; break; < case -262537412640768000: CM = -163; break; --- > case -147197952000L: CM = -67; break; > case -262537412640768000L: CM = -163; break; diff -r ../pari-2.8-1598-gfa553d7/src/basemath/FpE.c pari-2.8-1598-gfa553d7/src/basemath/FpE.c 463,464c463,464 < CHECK(-67, -147197952000); < CHECK(-163, -262537412640768000); --- > CHECK(-67, -147197952000L); > CHECK(-163, -262537412640768000L); diff -r ../pari-2.8-1598-gfa553d7/src/basemath/ifactor1.c pari-2.8-1598-gfa553d7/src/basemath/ifactor1.c 1747,1852c1747,1852 < 077777777ul, /* 0 */ < 077777777ul, /* 1 */ < 013562440ul, /* 2 */ < 012402540ul, /* 3 */ < 013562440ul, /* 4 */ < 052662441ul, /* 5 */ < 016603440ul, /* 6 */ < 016463450ul, /* 7 */ < 013573551ul, /* 8 */ < 012462540ul, /* 9 */ < 012462464ul, /* 10 */ < 013462771ul, /* 11 */ < 012406473ul, /* 12 */ < 012463641ul, /* 13 */ < 052463646ul, /* 14 */ < 012503446ul, /* 15 */ < 013562440ul, /* 16 */ < 052466440ul, /* 17 */ < 012472451ul, /* 18 */ < 012462454ul, /* 19 */ < 032463550ul, /* 20 */ < 013403664ul, /* 21 */ < 013463460ul, /* 22 */ < 032562565ul, /* 23 */ < 012402540ul, /* 24 */ < 052662441ul, /* 25 */ < 032672452ul, /* 26 */ < 013573551ul, /* 27 */ < 012467541ul, /* 28 */ < 012567640ul, /* 29 */ < 032706450ul, /* 30 */ < 012762452ul, /* 31 */ < 033762662ul, /* 32 */ < 012502562ul, /* 33 */ < 032463562ul, /* 34 */ < 013563440ul, /* 35 */ < 016663440ul, /* 36 */ < 036662550ul, /* 37 */ < 012462552ul, /* 38 */ < 033502450ul, /* 39 */ < 012462643ul, /* 40 */ < 033467540ul, /* 41 */ < 017403441ul, /* 42 */ < 017463462ul, /* 43 */ < 017472460ul, /* 44 */ < 033462470ul, /* 45 */ < 052566450ul, /* 46 */ < 013562640ul, /* 47 */ < 032403640ul, /* 48 */ < 016463450ul, /* 49 */ < 016463752ul, /* 50 */ < 033402440ul, /* 51 */ < 012462540ul, /* 52 */ < 012472540ul, /* 53 */ < 053562462ul, /* 54 */ < 012463465ul, /* 55 */ < 012663470ul, /* 56 */ < 052607450ul, /* 57 */ < 012566553ul, /* 58 */ < 013466440ul, /* 59 */ < 012502741ul, /* 60 */ < 012762744ul, /* 61 */ < 012763740ul, /* 62 */ < 012763443ul, /* 63 */ < 013573551ul, /* 64 */ < 013462471ul, /* 65 */ < 052502460ul, /* 66 */ < 012662463ul, /* 67 */ < 012662451ul, /* 68 */ < 012403550ul, /* 69 */ < 073567540ul, /* 70 */ < 072463445ul, /* 71 */ < 072462740ul, /* 72 */ < 012472442ul, /* 73 */ < 012462644ul, /* 74 */ < 013406650ul, /* 75 */ < 052463471ul, /* 76 */ < 012563474ul, /* 77 */ < 013503460ul, /* 78 */ < 016462441ul, /* 79 */ < 016462440ul, /* 80 */ < 012462540ul, /* 81 */ < 013462641ul, /* 82 */ < 012463454ul, /* 83 */ < 013403550ul, /* 84 */ < 057563540ul, /* 85 */ < 017466441ul, /* 86 */ < 017606471ul, /* 87 */ < 053666573ul, /* 88 */ < 012562561ul, /* 89 */ < 013473641ul, /* 90 */ < 032573440ul, /* 91 */ < 016763440ul, /* 92 */ < 016702640ul, /* 93 */ < 033762552ul, /* 94 */ < 012562550ul, /* 95 */ < 052402451ul, /* 96 */ < 033563441ul, /* 97 */ < 012663561ul, /* 98 */ < 012677560ul, /* 99 */ < 012462464ul, /* 100 */ < 032562642ul, /* 101 */ < 013402551ul, /* 102 */ < 032462450ul, /* 103 */ < 012467445ul, /* 104 */ < 032403440ul, /* 105 */ --- > 077777777UL, /* 0 */ > 077777777UL, /* 1 */ > 013562440UL, /* 2 */ > 012402540UL, /* 3 */ > 013562440UL, /* 4 */ > 052662441UL, /* 5 */ > 016603440UL, /* 6 */ > 016463450UL, /* 7 */ > 013573551UL, /* 8 */ > 012462540UL, /* 9 */ > 012462464UL, /* 10 */ > 013462771UL, /* 11 */ > 012406473UL, /* 12 */ > 012463641UL, /* 13 */ > 052463646UL, /* 14 */ > 012503446UL, /* 15 */ > 013562440UL, /* 16 */ > 052466440UL, /* 17 */ > 012472451UL, /* 18 */ > 012462454UL, /* 19 */ > 032463550UL, /* 20 */ > 013403664UL, /* 21 */ > 013463460UL, /* 22 */ > 032562565UL, /* 23 */ > 012402540UL, /* 24 */ > 052662441UL, /* 25 */ > 032672452UL, /* 26 */ > 013573551UL, /* 27 */ > 012467541UL, /* 28 */ > 012567640UL, /* 29 */ > 032706450UL, /* 30 */ > 012762452UL, /* 31 */ > 033762662UL, /* 32 */ > 012502562UL, /* 33 */ > 032463562UL, /* 34 */ > 013563440UL, /* 35 */ > 016663440UL, /* 36 */ > 036662550UL, /* 37 */ > 012462552UL, /* 38 */ > 033502450UL, /* 39 */ > 012462643UL, /* 40 */ > 033467540UL, /* 41 */ > 017403441UL, /* 42 */ > 017463462UL, /* 43 */ > 017472460UL, /* 44 */ > 033462470UL, /* 45 */ > 052566450UL, /* 46 */ > 013562640UL, /* 47 */ > 032403640UL, /* 48 */ > 016463450UL, /* 49 */ > 016463752UL, /* 50 */ > 033402440UL, /* 51 */ > 012462540UL, /* 52 */ > 012472540UL, /* 53 */ > 053562462UL, /* 54 */ > 012463465UL, /* 55 */ > 012663470UL, /* 56 */ > 052607450UL, /* 57 */ > 012566553UL, /* 58 */ > 013466440UL, /* 59 */ > 012502741UL, /* 60 */ > 012762744UL, /* 61 */ > 012763740UL, /* 62 */ > 012763443UL, /* 63 */ > 013573551UL, /* 64 */ > 013462471UL, /* 65 */ > 052502460UL, /* 66 */ > 012662463UL, /* 67 */ > 012662451UL, /* 68 */ > 012403550UL, /* 69 */ > 073567540UL, /* 70 */ > 072463445UL, /* 71 */ > 072462740UL, /* 72 */ > 012472442UL, /* 73 */ > 012462644UL, /* 74 */ > 013406650UL, /* 75 */ > 052463471UL, /* 76 */ > 012563474UL, /* 77 */ > 013503460UL, /* 78 */ > 016462441UL, /* 79 */ > 016462440UL, /* 80 */ > 012462540UL, /* 81 */ > 013462641UL, /* 82 */ > 012463454UL, /* 83 */ > 013403550UL, /* 84 */ > 057563540UL, /* 85 */ > 017466441UL, /* 86 */ > 017606471UL, /* 87 */ > 053666573UL, /* 88 */ > 012562561UL, /* 89 */ > 013473641UL, /* 90 */ > 032573440UL, /* 91 */ > 016763440UL, /* 92 */ > 016702640UL, /* 93 */ > 033762552UL, /* 94 */ > 012562550UL, /* 95 */ > 052402451UL, /* 96 */ > 033563441UL, /* 97 */ > 012663561UL, /* 98 */ > 012677560UL, /* 99 */ > 012462464UL, /* 100 */ > 032562642UL, /* 101 */ > 013402551UL, /* 102 */ > 032462450UL, /* 103 */ > 012467445UL, /* 104 */ > 032403440UL, /* 105 */ diff -r ../pari-2.8-1598-gfa553d7/src/basemath/polmodular.c pari-2.8-1598-gfa553d7/src/basemath/polmodular.c 1574c1574 < * + X * (1488*Y^2 + 40773375*Y + 8748000000) --- > * + X * (1488*Y^2 + 40773375*Y + 8748000000L) 1590c1590 < gel(phi2, 1) = uu32toi(36662, 1908994048); --- > gel(phi2, 1) = uu32toi(36662, 1908994048L); 1618,1619c1618,1619 < * + X^2 (2232*Y^3 + 2587918086*Y^2 + 8900222976000*Y + 452984832000000) < * + X (-1069956*Y^3 + 8900222976000*Y^2 - 770845966336000000*Y + 1855425871872000000000) --- > * + X^2 (2232*Y^3 + 2587918086*Y^2 + 8900222976000*Y + 452984832000000L) > * + X (-1069956*Y^3 + 8900222976000*Y^2 - 770845966336000000*Y + 1855425871872000000000L) 1622c1622 < * 1855425871872000000000 == 2^32 * (100 * 2^32 + 2503270400) --- > * 1855425871872000000000L == 2^32 * (100 * 2^32 + 2503270400L) 1634c1634 < gel(phi3, 5) = uu32toi(2072, 1050738688); --- > gel(phi3, 5) = uu32toi(2072, 1050738688L); 1669c1669 < gel(phi5, 18) = stoi(2028551200); --- > gel(phi5, 18) = stoi(2028551200L); 2157c2157 < { 2861, -9903,-2771265423, 2, 3, 3864,5525520,3552, 3823,3904572, 1 }, --- > { 2861, -9903,-2771265423L, 2, 3, 3864,5525520,3552, 3823,3904572, 1 }, diff -r ../pari-2.8-1598-gfa553d7/src/basemath/prime.c pari-2.8-1598-gfa553d7/src/basemath/prime.c 475,476c475,476 < /* 16294579238595022365 = 3*5*7*11*13*17*19*23*29*31*37*41*43*47*53 < * 7145393598349078859 = 59*61*67*71*73*79*83*89*97*101 */ --- > /* 16294579238595022365L = 3*5*7*11*13*17*19*23*29*31*37*41*43*47*53 > * 7145393598349078859L = 59*61*67*71*73*79*83*89*97*101 */ 480,483c480,483 < /* 4127218095 = 3*5*7*11*13*17*19*23*37 < * 3948078067 = 29*31*41*43*47*53 < * 4269855901 = 59*83*89*97*101 < * 1673450759 = 61*67*71*73*79 */ --- > /* 4127218095L = 3*5*7*11*13*17*19*23*37 > * 3948078067L = 29*31*41*43*47*53 > * 4269855901L = 59*83*89*97*101 > * 1673450759L = 61*67*71*73*79 */ 519,520c519,520 < /* 16294579238595022365 = 3*5*7*11*13*17*19*23*29*31*37*41*43*47*53 < * 7145393598349078859 = 59*61*67*71*73*79*83*89*97*101 */ --- > /* 16294579238595022365L = 3*5*7*11*13*17*19*23*29*31*37*41*43*47*53 > * 7145393598349078859L = 59*61*67*71*73*79*83*89*97*101 */ 524,527c524,527 < /* 4127218095 = 3*5*7*11*13*17*19*23*37 < * 3948078067 = 29*31*41*43*47*53 < * 4269855901 = 59*83*89*97*101 < * 1673450759 = 61*67*71*73*79 */ --- > /* 4127218095L = 3*5*7*11*13*17*19*23*37 > * 3948078067L = 29*31*41*43*47*53 > * 4269855901L = 59*83*89*97*101 > * 1673450759L = 61*67*71*73*79 */ 816c816 < { 2038074743, 100000000}, --- > { 2038074743L, 100000000}, 820,824c820,824 < { 11037271757, 500000000}, < { 22801763489, 1000000000}, < { 47055833459, 2000000000}, < {122430513841, 5000000000}, < {200000000507, 8007105083}, --- > { 11037271757L, 500000000}, > { 22801763489L, 1000000000L}, > { 47055833459L, 2000000000L}, > {122430513841L, 5000000000L}, > {200000000507L, 8007105083L}, diff -r ../pari-2.8-1598-gfa553d7/src/basemath/rootpol.c pari-2.8-1598-gfa553d7/src/basemath/rootpol.c 384c384 < * exponent BIL(lx-3) causes 1ulp further round-off error */ --- > * exponent BIL(lx-3) causes 1ULp further round-off error */ diff -r ../pari-2.8-1598-gfa553d7/src/basemath/trans1.c pari-2.8-1598-gfa553d7/src/basemath/trans1.c 161c161 < D = utoipos(10939058860032000); /* C^3/24 */ --- > D = utoipos(10939058860032000L); /* C^3/24 */ diff -r ../pari-2.8-1598-gfa553d7/src/basemath/trans2.c pari-2.8-1598-gfa553d7/src/basemath/trans2.c 835c835 < const ulong mul_overflow = 3037000500; --- > const ulong mul_overflow = 3037000500L; diff -r ../pari-2.8-1598-gfa553d7/src/kernel/none/mp.c pari-2.8-1598-gfa553d7/src/kernel/none/mp.c 2086c2086 < /* 64 bits of b = sqrt(a[0] * 2^64 + a[1]) [ up to 1ulp ] */ --- > /* 64 bits of b = sqrt(a[0] * 2^64 + a[1]) [ up to 1ULp ] */ diff -r ../pari-2.8-1598-gfa553d7/src/language/es.c pari-2.8-1598-gfa553d7/src/language/es.c 538c538 < if (l < 1000000000) return (l < 100000000)? 8: 9; --- > if (l < 1000000000L) return (l < 100000000)? 8: 9; diff -r ../pari-2.8-1598-gfa553d7/src/language/parse.c pari-2.8-1598-gfa553d7/src/language/parse.c 1104c1104 < YYFPRINTF (stderr, "Reducing stack by rule %d (line %llu):\n", --- > YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1804c1804 < YYDPRINTF ((stderr, "Stack size increased to %llu\n", --- > YYDPRINTF ((stderr, "Stack size increased to %lu\n", diff -r ../pari-2.8-1598-gfa553d7/src/modules/mpqs.h pari-2.8-1598-gfa553d7/src/modules/mpqs.h 154c154 < #define MPQS_FBE_DIVIDES_A 0x1ul /* and Q(x) mod p only has degree 1 */ --- > #define MPQS_FBE_DIVIDES_A 0x1UL /* and Q(x) mod p only has degree 1 */