Skip to content

Commit bc8c371

Browse files
committed
size_t indices in ENT_INTERSECT
1 parent 5dd0e11 commit bc8c371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/world/raycube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ namespace
156156
const std::vector<extentity *> &ents = entities::getents();
157157
//=======ENT_SEL_INTERSECT ENT_INTERSECT
158158
#define ENT_INTERSECT(type, func) do { \
159-
for(uint i = 0; i < oc->type.size(); i++) \
159+
for(size_t i = 0; i < oc->type.size(); i++) \
160160
{ \
161161
extentity &e = *ents[oc->type[i]]; \
162162
if(!(e.flags&EntFlag_Octa) || &e==t) \

0 commit comments

Comments
 (0)