Skip to content

Commit

Permalink
Const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
Aciz committed Aug 11, 2024
1 parent 0909e00 commit 095b0f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/cl_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ CL_CompareFrametimes
=================
*/
static int CL_CompareFrametimes(const void *a, const void *b) {
const uint32_t arg1 = *(uint32_t *)a;
const uint32_t arg2 = *(uint32_t *)b;
const uint32_t arg1 = *(const uint32_t *)a;
const uint32_t arg2 = *(const uint32_t *)b;

if (arg1 > arg2) {
return 1;
Expand Down

0 comments on commit 095b0f2

Please sign in to comment.