Skip to content

Commit

Permalink
Missing const
Browse files Browse the repository at this point in the history
  • Loading branch information
tyfkda committed Oct 30, 2024
1 parent 790c425 commit 95d0dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsrc/stdio/vfprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#define SIGN(p) ((p) ? '+' : '-')
#define STATIC_ASSERT(cond) char __dummy[(cond) ? 0 : -1]; (void)__dummy

static char kHexDigits[] = "0123456789abcdef";
static char kUpperHexDigits[] = "0123456789ABCDEF";
static const char kHexDigits[] = "0123456789abcdef";
static const char kUpperHexDigits[] = "0123456789ABCDEF";

static int putnstr(FILE *fp, int n, const char *s) {
int i;
Expand Down

0 comments on commit 95d0dad

Please sign in to comment.