Skip to content

Commit 80844b5

Browse files
committed
Fixed compiler errors
1 parent b788ab9 commit 80844b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/utilities/conversions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,12 @@ inline bool IsValidBaseEntityPointer(void* ptr)
252252
if (!ptr)
253253
return false;
254254

255-
CBaseEntity* pEntity = servertools->FirstEntity();
255+
CBaseEntity* pEntity = (CBaseEntity*) servertools->FirstEntity();
256256
while (pEntity) {
257257
if (pEntity == ptr)
258258
return true;
259259

260-
pEntity = servertools->NextEntity(pEntity);
260+
pEntity = (CBaseEntity*) servertools->NextEntity(pEntity);
261261
}
262262
return false;
263263
}

0 commit comments

Comments
 (0)