Commit 3005a5a9 authored by Rob Swindell's avatar Rob Swindell

Fix File.crc32 property value on 64-bit systems (ulong is > 32-bits)

parent b3b4d332
Pipeline #1112 passed with stage
in 17 minutes and 12 seconds
......@@ -2369,7 +2369,7 @@ static JSBool js_file_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
off_t offset;
ulong sum=0;
ushort c16=0;
ulong c32=~0;
uint32 c32=~0;
MD5 md5_ctx;
BYTE block[4096];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment