Skip to content

Commit 99a6cd1

Browse files
committed
FIX: several clang warnings fixed
1 parent 3f7f5eb commit 99a6cd1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/core/p-file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ REBINT Mode_Syms[] = {
298298
// append temporary CRLF on Windows or LF on Posix
299299
// @@ https://github.com/rebol/rebol-issues/issues/2102
300300
#ifdef TO_WINDOWS
301-
Append_Bytes_Len(VAL_SERIES(data), "\r\n", 2);
301+
Append_Bytes_Len(VAL_SERIES(data), cb_cast("\r\n"), 2);
302302
n = 2;
303303
#else
304304
Append_Byte(VAL_SERIES(data), '\n');

src/core/t-tuple.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
REBYTE *vp = NULL;
190190
REBYTE *ap = NULL;
191191
REBCNT len = 0;
192-
REBINT alen;
193-
REBINT v;
192+
REBCNT alen;
193+
REBCNT v;
194194
REBINT a;
195195
REBDEC dec;
196196

src/os/win32/dev-event.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "reb-host.h"
4242
#include "host-lib.h"
4343

44-
void Done_Device(int handle, int error);
44+
void Done_Device(REBUPT handle, int error);
4545

4646
// Move or remove globals? !?
4747
HWND Event_Handle = 0; // Used for async DNS

0 commit comments

Comments
 (0)