]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix probably-harmless type mismatch in nogss.c (and #include "putty.h" to stop
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 2 Mar 2011 00:18:03 +0000 (00:18 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 2 Mar 2011 00:18:03 +0000 (00:18 +0000)
it happening again; this was spotted by GCC's "-flto" option).

[originally from svn r9114]

nogss.c

diff --git a/nogss.c b/nogss.c
index 57a1b3726987ce4f238bd05238d4b724d459f3fd..adb1e22419ce601cc6f67e73f6af70f58fcba1e3 100644 (file)
--- a/nogss.c
+++ b/nogss.c
@@ -4,7 +4,8 @@
  * use for them.
  */
 
+#include "putty.h"
+
 const int ngsslibs = 0;
 const char *const gsslibnames[1] = { "dummy" };
-const char *const gsslibkeywords[1] = { "dummy" };
-
+const struct keyval gsslibkeywords[1] = { { "dummy", 0 } };