Skip to content

Commit

Permalink
#include <string.h> to use strncpy (#6408)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Aug 28, 2024
1 parent 6c69c15 commit b9cab71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/snprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "data.table.h"
#include <stdarg.h>
#include <ctype.h> // isdigit
#include <string.h> // strncpy
#undef snprintf // on Windows, just in this file, we do want to use the C library's snprintf

int dt_win_snprintf(char *dest, const size_t n, const char *fmt, ...)
Expand Down

0 comments on commit b9cab71

Please sign in to comment.