зеркало из https://github.com/mozilla/pjs.git
# 37239
r = thayes, a = brendan OS/2 bring-up - Need cast for VisualAge
This commit is contained in:
Родитель
a19120da96
Коммит
4ea8da2e4c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче