build: Fix 32-bit.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
Cory McWilliams 2025-02-27 19:10:48 -05:00
parent 6a346bf940
commit 8912212d8e

View File

@ -994,7 +994,7 @@ void tf_http_request_websocket_send(tf_http_request_t* request, int op_code, con
}
else
{
uint32_t high = (size >> 32) & 0xffffffff;
uint32_t high = ((uint64_t)size >> 32) & 0xffffffff;
uint32_t low = (size >> 0) & 0xffffffff;
copy[1] = 127;
copy[2] = (high >> 24) & 0xff;