diff options
Diffstat (limited to 'include/value.h')
-rw-r--r-- | include/value.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/value.h b/include/value.h index 9c48f1f..fce8750 100644 --- a/include/value.h +++ b/include/value.h @@ -381,9 +381,15 @@ public: /** * Retrieve the value as number - * @return long - */ - long numericValue() const; + * + * We force this to be a int64_t because we assume that most + * servers run 64 bits nowadays, and because we use int32_t, int64_t + * almost everywhere, instead of 'long' and on OSX neither of + * these intxx_t types is defined as 'long'... + * + * @return int64_t + */ + int64_t numericValue() const; /** * Retrieve the value as boolean |