From f38c0ff95188a1424a99dfc7009bbbf59b12b860 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Wed, 12 May 2021 10:54:06 +0200 Subject: [PATCH] More sizeof --- src/client/component/videos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/videos.cpp b/src/client/component/videos.cpp index db23295..1eb9019 100644 --- a/src/client/component/videos.cpp +++ b/src/client/component/videos.cpp @@ -18,7 +18,7 @@ namespace videos if (vid != video_replaces.end()) { char path[256]; - game::Sys_BuildAbsPath(path, 256, game::SF_VIDEO, vid->second.data(), ".bik"); + game::Sys_BuildAbsPath(path, sizeof(path), game::SF_VIDEO, vid->second.data(), ".bik"); if (game::Sys_FileExists(path)) {