File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -920,13 +920,13 @@ void gc_dump_alloc_table(void) {
920
920
// This code prints "Q" for qstr-pool data, and "q" for qstr-str
921
921
// data. It can be useful to see how qstrs are being allocated,
922
922
// but is disabled by default because it is very slow.
923
- for (qstr_pool_t * pool = MP_STATE_VM (last_pool ); c == 'h' && pool != NULL ; pool = pool -> prev ) {
924
- if ((qstr_pool_t * )ptr == pool ) {
923
+ for (const qstr_pool_t * pool = MP_STATE_VM (last_pool ); c == 'h' && pool != NULL ; pool = pool -> prev ) {
924
+ if ((const qstr_pool_t * )ptr == pool ) {
925
925
c = 'Q' ;
926
926
break ;
927
927
}
928
- for (const byte * * q = pool -> qstrs , * * q_top = pool -> qstrs + pool -> len ; q < q_top ; q ++ ) {
929
- if ((const byte * )ptr == * q ) {
928
+ for (const char * const * q = pool -> qstrs , * const * q_top = pool -> qstrs + pool -> len ; q < q_top ; q ++ ) {
929
+ if ((const char * )ptr == * q ) {
930
930
c = 'q' ;
931
931
break ;
932
932
}
You can’t perform that action at this time.
0 commit comments