~ chicken-core (chicken-5) 1723561a687983858f5aeb0da8ace7a3bf7d426b
commit 1723561a687983858f5aeb0da8ace7a3bf7d426b Author: Peter Bex <peter.bex@xs4all.nl> AuthorDate: Thu Sep 22 21:52:21 2011 +0200 Commit: Peter Bex <peter.bex@xs4all.nl> CommitDate: Thu Sep 22 21:52:21 2011 +0200 Pass a C_word pointer to convert_string_to_number instead of a long pointer (this fixes a compiler warning, ticket #695. Thanks to John Cowan for reporting it) diff --git a/runtime.c b/runtime.c index 13e16e23..c0c91bc9 100644 --- a/runtime.c +++ b/runtime.c @@ -8839,7 +8839,7 @@ static C_regparm C_word C_fcall decode_literal2(C_word **ptr, C_char **str, val = (C_word)(*ptr); if(bits == C_FLONUM_TYPE) { - long ln; + C_word ln; double fn; switch (convert_string_to_number(*str, 10, &ln, &fn)) {Trap