Commit 4472b053 authored by Philipp Stephani's avatar Philipp Stephani

Fix small bugs introduced in commit 096be9c4

* src/module-env-27.h:
* src/emacs-module.c (module_make_big_integer): Use 'emacs_limb_t'
instead of 'unsigned long' consistently
parent bd95d66a
Pipeline #4246 failed with stage
in 84 minutes and 5 seconds
......@@ -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)
......
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment