Skip to content

Commit 0427be4

Browse files
committed
FIX: warning: initialization discards 'const' qualifier from pointer target type
1 parent 879314d commit 0427be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/s-mold.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,10 @@ STOID Mold_Tag(REBVAL *value, REB_MOLD *mold)
533533

534534
STOID Mold_Handle(REBVAL *value, REB_MOLD *mold)
535535
{
536-
REBYTE *name = VAL_HANDLE_NAME(value);
536+
const REBYTE *name = VAL_HANDLE_NAME(value);
537537
if (name != NULL) {
538538
Append_Bytes(mold->series, "#[handle! ");
539-
Append_Bytes(mold->series, name);
539+
Append_Bytes(mold->series, (REBYTE *)name);
540540
Append_Byte(mold->series, ']');
541541
}
542542
else {

0 commit comments

Comments
 (0)