diff options
| author | Philipp Stephani | 2019-12-05 01:12:39 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2019-12-05 01:14:03 +0100 |
| commit | 4472b053c3003a34803ec3ce5816caadec7b607a (patch) | |
| tree | d7a73f0bda8009bf8d0175fa19656c03a37e915d | |
| parent | bd95d66ae97f3dcfe73b972de935e27e434e49be (diff) | |
| download | emacs-4472b053c3003a34803ec3ce5816caadec7b607a.tar.gz emacs-4472b053c3003a34803ec3ce5816caadec7b607a.zip | |
Fix small bugs introduced in commit 096be9c454
* src/module-env-27.h:
* src/emacs-module.c (module_make_big_integer): Use 'emacs_limb_t'
instead of 'unsigned long' consistently
| -rw-r--r-- | src/emacs-module.c | 2 | ||||
| -rw-r--r-- | src/module-env-27.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index 2cd3fbd3df5..12ed3b1f3e0 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c | |||
| @@ -913,7 +913,7 @@ module_extract_big_integer (emacs_env *env, emacs_value arg, int *sign, | |||
| 913 | 913 | ||
| 914 | static emacs_value | 914 | static emacs_value |
| 915 | module_make_big_integer (emacs_env *env, int sign, | 915 | module_make_big_integer (emacs_env *env, int sign, |
| 916 | ptrdiff_t count, const unsigned long *magnitude) | 916 | ptrdiff_t count, const emacs_limb_t *magnitude) |
| 917 | { | 917 | { |
| 918 | MODULE_FUNCTION_BEGIN (NULL); | 918 | MODULE_FUNCTION_BEGIN (NULL); |
| 919 | if (sign == 0) | 919 | if (sign == 0) |
diff --git a/src/module-env-27.h b/src/module-env-27.h index da8ac0e7479..0fe2557d71b 100644 --- a/src/module-env-27.h +++ b/src/module-env-27.h | |||
| @@ -10,9 +10,9 @@ | |||
| 10 | EMACS_ATTRIBUTE_NONNULL (1); | 10 | EMACS_ATTRIBUTE_NONNULL (1); |
| 11 | 11 | ||
| 12 | bool (*extract_big_integer) (emacs_env *env, emacs_value arg, int *sign, | 12 | bool (*extract_big_integer) (emacs_env *env, emacs_value arg, int *sign, |
| 13 | ptrdiff_t *count, unsigned long *magnitude) | 13 | ptrdiff_t *count, emacs_limb_t *magnitude) |
| 14 | EMACS_ATTRIBUTE_NONNULL (1); | 14 | EMACS_ATTRIBUTE_NONNULL (1); |
| 15 | 15 | ||
| 16 | emacs_value (*make_big_integer) (emacs_env *env, int sign, ptrdiff_t count, | 16 | emacs_value (*make_big_integer) (emacs_env *env, int sign, ptrdiff_t count, |
| 17 | const unsigned long *magnitude) | 17 | const emacs_limb_t *magnitude) |
| 18 | EMACS_ATTRIBUTE_NONNULL (1); | 18 | EMACS_ATTRIBUTE_NONNULL (1); |