fix datatype in long long variants

Sun, 22 Dec 2024 21:57:53 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 22 Dec 2024 21:57:53 +0100
changeset 1046
fe2c842fce4b
parent 1045
468c868cc8a8
child 1047
40aad3f0bc9e

fix datatype in long long variants

issue #532

src/cx/string.h file | annotate | diff | comparison | revisions
--- a/src/cx/string.h	Sun Dec 22 21:42:16 2024 +0100
+++ b/src/cx/string.h	Sun Dec 22 21:57:53 2024 +0100
@@ -1138,7 +1138,7 @@
  * \copydoc cx_strtouz_lc()
  */
 cx_attr_access_w(2) cx_attr_nonnull_arg(2)
-int cx_strtoll_lc(cxstring str, long int *output, int base, const char *groupsep);
+int cx_strtoll_lc(cxstring str, long long *output, int base, const char *groupsep);
 /**
  * \copydoc cx_strtouz_lc()
  */
@@ -1183,7 +1183,7 @@
  * \copydoc cx_strtouz_lc()
  */
 cx_attr_access_w(2) cx_attr_nonnull_arg(2)
-int cx_strtoull_lc(cxstring str, unsigned long int *output, int base, const char *groupsep);
+int cx_strtoull_lc(cxstring str, unsigned long long *output, int base, const char *groupsep);
 /**
  * \copydoc cx_strtouz_lc()
  */

mercurial