Fixed a bug causing pspp to crash when computed variables had no format
[pspp-builds.git] / src / lexer.c
index 94793bfb9557d4d0191b411c93405bc09fcd98e2..a3b43a96f63b33d0151c8efa32df3569ba64f018 100644 (file)
@@ -422,7 +422,7 @@ lex_double_p (void)
 
 /* Returns the value of the current token, which must be a
    floating point number. */
-long
+double
 lex_double (void)
 {
   assert (lex_double_p ());