Skip to content

Commit

Permalink
FIX: warning: incompatible pointer types passing
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jan 14, 2023
1 parent a12dd92 commit 6d7fa43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/n-image.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ typedef struct REBCLR {
codi.len = VAL_LEN(val_src_file);
}

OS_LOAD_IMAGE(ser ? SERIES_DATA(ser) : NULL, frm, &codi);
OS_LOAD_IMAGE(ser ? (REBCHR*)SERIES_DATA(ser) : NULL, frm, &codi);

if(codi.error) {
switch (codi.error) {
Expand Down Expand Up @@ -499,7 +499,7 @@ typedef struct REBCLR {
// }
//}

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

if(codi.error) {
switch (codi.error) {
Expand Down

0 comments on commit 6d7fa43

Please sign in to comment.