Skip to content

Commit 0238052

Browse files
committed
fix warnings in C stubs
1 parent 022a495 commit 0238052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ws/tiny_httpd_ws_stubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CAMLprim value tiny_httpd_ws_apply_masking(value _mask_key, value _mask_offset,
88
CAMLparam5(_mask_key, _mask_offset, _buf, _offset, _len);
99

1010
char const *mask_key = String_val(_mask_key);
11-
char *buf = Bytes_val(_buf);
11+
unsigned char *buf = Bytes_val(_buf);
1212
intnat mask_offset = Int_val(_mask_offset);
1313
intnat offset = Int_val(_offset);
1414
intnat len = Int_val(_len);

0 commit comments

Comments
 (0)