Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixelsuft committed Jul 5, 2024
1 parent 2d05892 commit ace0df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void* h_memset(void* dst, int ch, size_t n) {
#if defined(PREFER_SDL2) && !defined(PREFER_STD)
return (void*)SDL_memset(dst, ch, n);
#elif !defined(NOSTDLIB)
return memset(dst, ch, n)
return memset(dst, ch, n);
#else
for (size_t i = 0; i < n; i++) {
*((uint8_t*)dst + (uint8_t*)i) = (uint8_t)ch;
Expand Down

0 comments on commit ace0df9

Please sign in to comment.