Skip to content

Commit 6d7fa43

Browse files
committed
FIX: warning: incompatible pointer types passing
1 parent a12dd92 commit 6d7fa43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/n-image.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ typedef struct REBCLR {
433433
codi.len = VAL_LEN(val_src_file);
434434
}
435435

436-
OS_LOAD_IMAGE(ser ? SERIES_DATA(ser) : NULL, frm, &codi);
436+
OS_LOAD_IMAGE(ser ? (REBCHR*)SERIES_DATA(ser) : NULL, frm, &codi);
437437

438438
if(codi.error) {
439439
switch (codi.error) {
@@ -499,7 +499,7 @@ typedef struct REBCLR {
499499
// }
500500
//}
501501

502-
OS_SAVE_IMAGE(IS_FILE(val_dest) ? SERIES_DATA(ser) : NULL, &codi);
502+
OS_SAVE_IMAGE(IS_FILE(val_dest) ? (REBCHR *)SERIES_DATA(ser) : NULL, &codi);
503503

504504
if(codi.error) {
505505
switch (codi.error) {

0 commit comments

Comments
 (0)