1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Robert Luberda <robert@debian.org>
Date: Sat, 15 Aug 2020 00:49:25 +0200
Subject: Fix FTBFS with gcc-10
Bugs-Debian: https://bugs.debian.org/957850
---
super.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/super.h b/super.h
index c9c7cad..385336c 100644
--- a/super.h
+++ b/super.h
@@ -290,7 +290,7 @@ typedef struct progList ProgList;
/* ========================================================================= */
#ifdef HAVE_ENUM
-enum {SUPER_AUTH_PASSWORD, SUPER_AUTH_PAM} Method;
+enum Method {SUPER_AUTH_PASSWORD, SUPER_AUTH_PAM};
#else
/* No enums! */
#define SUPER_AUTH_PASSWORD 1
|