diff options
Diffstat (limited to 'stdio-common/tmpnam.c')
-rw-r--r-- | stdio-common/tmpnam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpnam.c b/stdio-common/tmpnam.c index fc30026..e1e11ae 100644 --- a/stdio-common/tmpnam.c +++ b/stdio-common/tmpnam.c @@ -30,7 +30,7 @@ tmpnam (char *s) /* By using two buffers we manage to be thread safe in the case where S != NULL. */ char tmpbufmem[L_tmpnam]; - char tmpbuf = s ?: tmpbufmem; + char *tmpbuf = s ?: tmpbufmem; /* In the following call we use the buffer pointed to by S if non-NULL although we don't know the size. But we limit the size |