@@ -114,7 +114,7 @@ extern const REBYTE Str_Banner[];
114
114
***********************************************************************/
115
115
{
116
116
if (rargs -> options & RO_VERS ) {
117
- Debug_Fmt (( REBYTE * ) Str_Banner , REBOL_VER , REBOL_REV , REBOL_UPD , REBOL_SYS , REBOL_VAR );
117
+ Debug_Fmt (Str_Banner , REBOL_VER , REBOL_REV , REBOL_UPD , REBOL_SYS , REBOL_VAR );
118
118
OS_EXIT (0 );
119
119
}
120
120
}
@@ -179,7 +179,7 @@ extern const REBYTE Str_Banner[];
179
179
Free_Series (text );
180
180
}
181
181
182
- Set_Root_Series (ROOT_BOOT , boot , "boot block" ); // Do not let it get GC'd
182
+ Set_Root_Series (ROOT_BOOT , boot , cb_cast ( "boot block" ) ); // Do not let it get GC'd
183
183
184
184
Boot_Block = (BOOT_BLK * )VAL_BLK (BLK_HEAD (boot ));
185
185
@@ -463,7 +463,7 @@ extern const REBYTE Str_Banner[];
463
463
***********************************************************************/
464
464
{
465
465
DS_Series = Make_Block (size );
466
- Set_Root_Series (TASK_STACK , DS_Series , "data stack" ); // uses special GC
466
+ Set_Root_Series (TASK_STACK , DS_Series , cb_cast ( "data stack" ) ); // uses special GC
467
467
DS_Base = BLK_HEAD (DS_Series );
468
468
DSP = DSF = 0 ;
469
469
SET_NONE (DS_TOP ); // avoids it being set to END (GC problem)
@@ -509,7 +509,7 @@ extern const REBYTE Str_Banner[];
509
509
510
510
/***********************************************************************
511
511
**
512
- */ void Set_Root_Series (REBVAL * value , REBSER * ser , REBYTE * label )
512
+ */ void Set_Root_Series (REBVAL * value , REBSER * ser , const REBYTE * label )
513
513
/*
514
514
** Used to set block and string values in the ROOT context.
515
515
**
@@ -699,7 +699,7 @@ extern const REBYTE Str_Banner[];
699
699
700
700
/***********************************************************************
701
701
**
702
- */ void Register_Codec (REBYTE * name , codo dispatcher )
702
+ */ void Register_Codec (const REBYTE * name , codo dispatcher )
703
703
/*
704
704
** Internal function for adding a codec.
705
705
**
@@ -719,8 +719,8 @@ extern const REBYTE Str_Banner[];
719
719
/*
720
720
***********************************************************************/
721
721
{
722
- Register_Codec (( REBYTE * ) "text" , Codec_Text );
723
- Register_Codec (( REBYTE * ) "markup" , Codec_Markup );
722
+ Register_Codec (cb_cast ( "text" ) , Codec_Text );
723
+ Register_Codec (cb_cast ( "markup" ) , Codec_Markup );
724
724
#ifdef USE_BMP_CODEC
725
725
Init_BMP_Codec ();
726
726
#endif
0 commit comments