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

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

parent b3b4d332
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1112 passed
......@@ -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];
BYTE digest[MD5_DIGEST_SIZE];
......
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