Skip to content

Commit

Permalink
Fixed all warnings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Jan 29, 2025
1 parent 7e54610 commit b0ffe8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main()
int nInteger = 69;
char sBuffer[14];

strncpy(sBuffer, "test string", sizeof(sBuffer));
snprintf(sBuffer, sizeof(sBuffer), "test string");
//uint16_t nLogFlags = SLOG_ERROR | SLOG_NOTAG | SLOG_NOTE;

/* Initialize slog and allow only error and not tagged output */
Expand Down

0 comments on commit b0ffe8f

Please sign in to comment.