[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4472b05: Fix small bugs introduced in commit 096be9c454
From: |
Philipp Stephani |
Subject: |
master 4472b05: Fix small bugs introduced in commit 096be9c454 |
Date: |
Wed, 4 Dec 2019 19:14:49 -0500 (EST) |
branch: master
commit 4472b053c3003a34803ec3ce5816caadec7b607a
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
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
---
src/emacs-module.c | 2 +-
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 2cd3fbd..12ed3b1 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,
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)
diff --git a/src/module-env-27.h b/src/module-env-27.h
index da8ac0e..0fe2557 100644
--- a/src/module-env-27.h
+++ b/src/module-env-27.h
@@ -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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4472b05: Fix small bugs introduced in commit 096be9c454,
Philipp Stephani <=