In file included from floppy.c:45: virtual-floppy.h:235:3: error: ‘nonnull’ attribute argument 3 value ‘3’ refers to parameter type ‘uint64_t’ {aka ‘long unsigned int’} [-Werror=attributes] 235 | __attribute__((__nonnull__ (1, 2, 3))); | ^~~~~~~~~~~~~ --- plugins/floppy/virtual-floppy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/floppy/virtual-floppy.h b/plugins/floppy/virtual-floppy.h index b3eac24e..b8c555f8 100644 --- a/plugins/floppy/virtual-floppy.h +++ b/plugins/floppy/virtual-floppy.h @@ -232,7 +232,7 @@ extern void init_virtual_floppy (struct virtual_floppy *floppy) extern int create_virtual_floppy (const char *dir, const char *label, uint64_t size, struct virtual_floppy *floppy) - __attribute__((__nonnull__ (1, 2, 3))); + __attribute__((__nonnull__ (1, 2, 4))); extern void free_virtual_floppy (struct virtual_floppy *floppy) __attribute__((__nonnull__ (1))); extern int create_directory (size_t di, const char *label, -- 2.32.0