Silience compiler warnings in unsigned int

Add suffix u to clarify the unsigned int constant when the value
is above 2^31.

Change-Id: Ic712096285b7bf37deaeb5ad1b6b117fc0d67093
This commit is contained in:
Jingning Han 2016-05-17 16:45:26 -07:00
Родитель c4e7fde68a
Коммит 436f78fab7
1 изменённых файлов: 64 добавлений и 64 удалений

Просмотреть файл

@ -27,27 +27,27 @@ void init_fastdiv() {
*/
const struct fastdiv_elem vp10_fastdiv_tab[256] = {
{0, 0}, {0, 0}, {0, 1}, {1431655766, 2},
{0, 2}, {2576980378, 3}, {1431655766, 3}, {613566757, 3},
{0, 3}, {3340530120, 4}, {2576980378, 4}, {1952257862, 4},
{1431655766, 4}, {991146300, 4}, {613566757, 4}, {286331154, 4},
{0, 4}, {3789677026, 5}, {3340530120, 5}, {2938661835, 5},
{2576980378, 5}, {2249744775, 5}, {1952257862, 5}, {1680639377, 5},
{0, 2}, {2576980378u, 3}, {1431655766, 3}, {613566757, 3},
{0, 3}, {3340530120u, 4}, {2576980378u, 4}, {1952257862, 4},
{1431655766, 4}, {991146300, 4}, {613566757, 4}, {286331154u, 4},
{0, 4}, {3789677026u, 5}, {3340530120u, 5}, {2938661835u, 5},
{2576980378u, 5}, {2249744775u, 5}, {1952257862, 5}, {1680639377, 5},
{1431655766, 5}, {1202590843, 5}, {991146300, 5}, {795364315, 5},
{613566757, 5}, {444306962, 5}, {286331154, 5}, {138547333, 5},
{0, 5}, {4034666248, 6}, {3789677026, 6}, {3558687189, 6},
{3340530120, 6}, {3134165325, 6}, {2938661835, 6}, {2753184165, 6},
{2576980378, 6}, {2409371898, 6}, {2249744775, 6}, {2097542168, 6},
{0, 5}, {4034666248u, 6}, {3789677026u, 6}, {3558687189u, 6},
{3340530120u, 6}, {3134165325u, 6}, {2938661835u, 6}, {2753184165u, 6},
{2576980378u, 6}, {2409371898u, 6}, {2249744775u, 6}, {2097542168u, 6},
{1952257862, 6}, {1813430637, 6}, {1680639377, 6}, {1553498810, 6},
{1431655766, 6}, {1314785907, 6}, {1202590843, 6}, {1094795586, 6},
{991146300, 6}, {891408307, 6}, {795364315, 6}, {702812831, 6},
{613566757, 6}, {527452125, 6}, {444306962, 6}, {363980280, 6},
{286331154, 6}, {211227900, 6}, {138547333, 6}, {68174085, 6},
{0, 6}, {4162814457, 7}, {4034666248, 7}, {3910343360, 7},
{3789677026, 7}, {3672508268, 7}, {3558687189, 7}, {3448072337, 7},
{3340530120, 7}, {3235934265, 7}, {3134165325, 7}, {3035110223, 7},
{2938661835, 7}, {2844718599, 7}, {2753184165, 7}, {2663967058, 7},
{2576980378, 7}, {2492141518, 7}, {2409371898, 7}, {2328596727, 7},
{2249744775, 7}, {2172748162, 7}, {2097542168, 7}, {2024065048, 7},
{0, 6}, {4162814457u, 7}, {4034666248u, 7}, {3910343360u, 7},
{3789677026u, 7}, {3672508268u, 7}, {3558687189u, 7}, {3448072337u, 7},
{3340530120u, 7}, {3235934265u, 7}, {3134165325u, 7}, {3035110223u, 7},
{2938661835u, 7}, {2844718599u, 7}, {2753184165u, 7}, {2663967058u, 7},
{2576980378u, 7}, {2492141518u, 7}, {2409371898u, 7}, {2328596727u, 7},
{2249744775u, 7}, {2172748162u, 7}, {2097542168, 7}, {2024065048, 7},
{1952257862, 7}, {1882064321, 7}, {1813430637, 7}, {1746305385, 7},
{1680639377, 7}, {1616385542, 7}, {1553498810, 7}, {1491936009, 7},
{1431655766, 7}, {1372618415, 7}, {1314785907, 7}, {1258121734, 7},
@ -58,17 +58,17 @@ const struct fastdiv_elem vp10_fastdiv_tab[256] = {
{444306962, 7}, {403800345, 7}, {363980280, 7}, {324829460, 7},
{286331154, 7}, {248469183, 7}, {211227900, 7}, {174592167, 7},
{138547333, 7}, {103079216, 7}, {68174085, 7}, {33818641, 7},
{0, 7}, {4228378656, 8}, {4162814457, 8}, {4098251237, 8},
{4034666248, 8}, {3972037425, 8}, {3910343360, 8}, {3849563281, 8},
{3789677026, 8}, {3730665024, 8}, {3672508268, 8}, {3615188300, 8},
{3558687189, 8}, {3502987511, 8}, {3448072337, 8}, {3393925206, 8},
{3340530120, 8}, {3287871517, 8}, {3235934265, 8}, {3184703642, 8},
{3134165325, 8}, {3084305374, 8}, {3035110223, 8}, {2986566663, 8},
{2938661835, 8}, {2891383213, 8}, {2844718599, 8}, {2798656110, 8},
{2753184165, 8}, {2708291480, 8}, {2663967058, 8}, {2620200175, 8},
{2576980378, 8}, {2534297473, 8}, {2492141518, 8}, {2450502814, 8},
{2409371898, 8}, {2368739540, 8}, {2328596727, 8}, {2288934667, 8},
{2249744775, 8}, {2211018668, 8}, {2172748162, 8}, {2134925265, 8},
{0, 7}, {4228378656u, 8}, {4162814457u, 8}, {4098251237u, 8},
{4034666248u, 8}, {3972037425u, 8}, {3910343360u, 8}, {3849563281u, 8},
{3789677026u, 8}, {3730665024u, 8}, {3672508268u, 8}, {3615188300u, 8},
{3558687189u, 8}, {3502987511u, 8}, {3448072337u, 8}, {3393925206u, 8},
{3340530120u, 8}, {3287871517u, 8}, {3235934265u, 8}, {3184703642u, 8},
{3134165325u, 8}, {3084305374u, 8}, {3035110223u, 8}, {2986566663u, 8},
{2938661835u, 8}, {2891383213u, 8}, {2844718599u, 8}, {2798656110u, 8},
{2753184165u, 8}, {2708291480u, 8}, {2663967058u, 8}, {2620200175u, 8},
{2576980378u, 8}, {2534297473u, 8}, {2492141518u, 8}, {2450502814u, 8},
{2409371898u, 8}, {2368739540u, 8}, {2328596727u, 8}, {2288934667u, 8},
{2249744775u, 8}, {2211018668u, 8}, {2172748162u, 8}, {2134925265u, 8},
{2097542168, 8}, {2060591247, 8}, {2024065048, 8}, {1987956292, 8},
{1952257862, 8}, {1916962805, 8}, {1882064321, 8}, {1847555765, 8},
{1813430637, 8}, {1779682582, 8}, {1746305385, 8}, {1713292966, 8},