mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed compiler warning in strf()
This commit is contained in:
parent
dc061d8fc3
commit
002c6f8d5f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ char * vstrcatf(char **dest, const char *fmt, va_list va)
|
|||
__attribute__ ((format(printf, 2, 0)));
|
||||
|
||||
/** Format string like strcatf() just starting with empty string */
|
||||
#define strf(fmt, ...) strcatf(&(void *) { NULL }, fmt, ##__VA_ARGS__)
|
||||
#define strf(fmt, ...) strcatf(&(char *) { NULL }, fmt, ##__VA_ARGS__)
|
||||
|
||||
/** Format a struct timespec date similar to strftime() */
|
||||
int strftimespec(char *s, size_t max, const char *format, struct timespec *ts)
|
||||
|
|
Loading…
Add table
Reference in a new issue