Skip to content

Commit a867443

Browse files
ViacheslavRbsys_zuul
authored andcommitted
Type of for statement iterator changed from
unsigned int to uint64_t to prevent hangs. Change-Id: Ic557ddb24feffb880d06d572920d86761422482d
1 parent 71d1380 commit a867443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ inline void* CAllocator::Malloc(size_t size)
282282
if(ptr)
283283
{
284284
// does not introduce dependencies, is into memset by compiler
285-
for(unsigned int t = 0; t<size; ++t)
285+
for(uint64_t t = 0; t<size; ++t)
286286
static_cast< unsigned char* >(ptr)[t] = 0xcc;
287287
}
288288
#endif

0 commit comments

Comments
 (0)