Changeset 473 for trunk/kernel/libk/grdxt.c
- Timestamp:
- Aug 21, 2018, 6:01:01 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/grdxt.c
r457 r473 73 73 req.type = KMEM_GENERIC; 74 74 75 for( ix1=0 ; ix1 < ( 1 << w1) ; ix1++ )75 for( ix1=0 ; ix1 < (uint32_t)(1 << w1) ; ix1++ ) 76 76 { 77 77 ptr2 = ptr1[ix1]; … … 79 79 if( ptr2 == NULL ) continue; 80 80 81 for( ix2=0 ; ix2 < ( 1 << w2) ; ix2++ )81 for( ix2=0 ; ix2 < (uint32_t)(1 << w2) ; ix2++ ) 82 82 { 83 83 ptr3 = ptr2[ix2]; … … 129 129 name, 1<<w1 , 1<<w2 , 1<<w3 ); 130 130 131 for( ix1=0 ; ix1 < ( 1<<w1) ; ix1++ )131 for( ix1=0 ; ix1 < (uint32_t)(1<<w1) ; ix1++ ) 132 132 { 133 133 ptr2 = ptr1[ix1]; 134 134 if( ptr2 == NULL ) continue; 135 135 136 for( ix2=0 ; ix2 < ( 1<<w2) ; ix2++ )136 for( ix2=0 ; ix2 < (uint32_t)(1<<w2) ; ix2++ ) 137 137 { 138 138 ptr3 = ptr2[ix2]; 139 139 if( ptr3 == NULL ) continue; 140 140 141 for( ix3=0 ; ix3 < ( 1<<w3) ; ix3++ )141 for( ix3=0 ; ix3 < (uint32_t)(1<<w3) ; ix3++ ) 142 142 { 143 143 value = (intptr_t)ptr3[ix3];
Note: See TracChangeset
for help on using the changeset viewer.