Skip to content

Commit

Permalink
Use long long instead of long.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirShpilraien committed Jul 22, 2024
1 parent 0aa7245 commit d53cf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void zlibc_free(void *ptr) {
#define THREAD_MASK (MAX_THREADS - 1)

typedef struct used_memory_entry {
redisAtomic long used_memory;
redisAtomic long long used_memory;
char padding[CACHE_LINE_SIZE - sizeof(long)];
} used_memory_entry;

Expand Down

0 comments on commit d53cf21

Please sign in to comment.