Skip to content

Commit cd238bd

Browse files
committed
fileinfo: Fix VS compat
Signed-off-by: Anatol Belski <[email protected]>
1 parent f7ab54c commit cd238bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/fileinfo/libmagic/file.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,7 @@ protected int file_buffer(struct magic_set *, php_stream *, zend_stat_t *, const
482482
size_t);
483483
protected int file_fsmagic(struct magic_set *, const char *, zend_stat_t *);
484484
protected int file_pipe2file(struct magic_set *, int, const void *, size_t);
485-
protected int file_vprintf(struct magic_set *, const char *, va_list)
486-
__attribute__((__format__(__printf__, 2, 0)));
485+
protected int file_vprintf(struct magic_set *, const char *, va_list);
487486
protected int file_separator(struct magic_set *);
488487
protected char *file_copystr(char *, size_t, size_t, const char *);
489488
protected int file_checkfmt(char *, size_t, const char *);

0 commit comments

Comments
 (0)