Skip to content
Snippets Groups Projects
Commit 8108e0cd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address MSVC warning and CID 492209 with typecast of time_t to uint32_t

yes, this is a Y2K38 (or Y2106) issue, but we should have that worked out
when upgrading to the next libmozjs.

Need something like NUMBER_TO_JSVAL() and equivalent LAZY_NUMBER macro that
can deal with >32-bit ints correctly (or just always convert to double?).
parent 00a80d45
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6323 passed
......@@ -2695,7 +2695,7 @@ static JSBool js_system_resolve(JSContext *cx, JSObject *obj, jsid id)
LAZY_STRING("git_branch", git_branch);
LAZY_STRING("git_hash", git_hash);
LAZY_STRING("git_date", git_date);
LAZY_INTEGER("git_time", git_time);
LAZY_INTEGER("git_time", (uint32_t)git_time);
LAZY_STRING("platform", PLATFORM_DESC);
LAZY_STRING("architecture", ARCHITECTURE_DESC);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment