Bug 1256559 - To avoid VS2013 vs 2015 issues, just cast the size_t values to unsigned and print them with %u in the debug messages here; r=khuey

--HG--
extra : rebase_source : a285239f0b600164f58eaa11189c1c2c91a5bf51
extra : histedit_source : fe5ad5b950960a3e97fb5940201d525e8c342ab6
This commit is contained in:
Jonathan Kew 2016-03-21 12:14:13 +00:00
Родитель 0d6d8f8602
Коммит 883e90e9df
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -733,11 +733,13 @@ test_internal_tables(void)
i++;
}
if (i!=LENGTH_MAPPING_LIST)
fprintf(stderr,"nsLocale: language_list length is %d, reported length is %d\n",i,LENGTH_MAPPING_LIST);
fprintf(stderr,"nsLocale: language_list length is %u, reported length is %u\n",
unsigned(i), unsigned(LENGTH_MAPPING_LIST));
for(i=0;i<LENGTH_MAPPING_LIST;i++) {
if (strcmp(iso_list[i].iso_code,dbg_list[i].iso_code)!=0) {
fprintf(stderr,"nsLocale: iso_list and dbg_list differet at item: %d\n",i);
fprintf(stderr,"nsLocale: iso_list and dbg_list different at item: %u\n",
unsigned(i));
}
}
}