diff options
| -rw-r--r-- | stc/cfmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ _cfmt_printf(int s, const char* fmt, ...); STC_API char *
_cfmt_conv(int nargs, const char *fmt, ...);
enum {_cfmt_bn=4, _cfmt_sn=64};
-STC_INLINE const char* _cfmt_strftime(char* n, char buf[_cfmt_bn][_cfmt_sn], size_t maxsize, const char *fmt, const struct tm *timeptr) {
+STC_INLINE const char* _cfmt_strftime(char* n, char buf[][_cfmt_sn], size_t maxsize, const char *fmt, const struct tm *timeptr) {
if (*n >= _cfmt_bn) return fmt;
strftime(buf[*n], maxsize, fmt, timeptr);
return buf[(*n)++];
|
