From 7821f425e7a49ce3ca81fc9c17c59c5a1116bc01 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 24 Feb 2022 05:45:41 +0300 Subject: [PATCH] engine: client: position history indexes can't be negative, use unsigned with them --- engine/client/cl_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_frame.c b/engine/client/cl_frame.c index 683f2786..f0ab2d2b 100644 --- a/engine/client/cl_frame.c +++ b/engine/client/cl_frame.c @@ -349,7 +349,7 @@ find two timestamps qboolean CL_FindInterpolationUpdates( cl_entity_t *ent, float targettime, position_history_t **ph0, position_history_t **ph1 ) { qboolean extrapolate = true; - int i, i0, i1, imod; + uint i, i0, i1, imod; float at; imod = ent->current_position;