]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix small bugs introduced in commit 096be9c454
authorPhilipp Stephani <phst@google.com>
Thu, 5 Dec 2019 00:12:39 +0000 (01:12 +0100)
committerPhilipp Stephani <phst@google.com>
Thu, 5 Dec 2019 00:14:03 +0000 (01:14 +0100)
* src/module-env-27.h:
* src/emacs-module.c (module_make_big_integer): Use 'emacs_limb_t'
instead of 'unsigned long' consistently

src/emacs-module.c
src/module-env-27.h

index 2cd3fbd3df589681e3fe1efd1a31bf4c1853ca68..12ed3b1f3e04072ea21865d2ec994b19089d08d2 100644 (file)
@@ -913,7 +913,7 @@ module_extract_big_integer (emacs_env *env, emacs_value arg, int *sign,
 
 static emacs_value
 module_make_big_integer (emacs_env *env, int sign,
-                         ptrdiff_t count, const unsigned long *magnitude)
+                         ptrdiff_t count, const emacs_limb_t *magnitude)
 {
   MODULE_FUNCTION_BEGIN (NULL);
   if (sign == 0)
index da8ac0e7479c280d143d7fefcd8f7e5f7d96856a..0fe2557d71bf2fe20756e5b198a4c23db92eeeba 100644 (file)
@@ -10,9 +10,9 @@
     EMACS_ATTRIBUTE_NONNULL (1);
 
   bool (*extract_big_integer) (emacs_env *env, emacs_value arg, int *sign,
-                               ptrdiff_t *count, unsigned long *magnitude)
+                               ptrdiff_t *count, emacs_limb_t *magnitude)
     EMACS_ATTRIBUTE_NONNULL (1);
 
   emacs_value (*make_big_integer) (emacs_env *env, int sign, ptrdiff_t count,
-                                   const unsigned long *magnitude)
+                                   const emacs_limb_t *magnitude)
     EMACS_ATTRIBUTE_NONNULL (1);