r = thayes, a = brendan
OS/2 bring-up - Need cast for VisualAge
This commit is contained in:
mkaply%us.ibm.com 2000-06-09 22:48:05 +00:00
Родитель a19120da96
Коммит 4ea8da2e4c
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -356,7 +356,7 @@ Wallet_RandomName(char* suffix)
/* take 8 least-significant digits + three-digit suffix as the file name */
char name[13];
PR_snprintf(name, 13, "%lu.%s", (curTime%100000000), suffix);
PR_snprintf(name, 13, "%lu.%s", (((int)curTime)%100000000), suffix);
return PL_strdup(name);
}