unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24932: [PATCH] Update module function signature
@ 2016-11-13  2:06 Syohei YOSHIDA
  2016-11-13 21:02 ` Daniel Colascione
  2016-11-28 15:51 ` Paul Eggert
  0 siblings, 2 replies; 4+ messages in thread
From: Syohei YOSHIDA @ 2016-11-13  2:06 UTC (permalink / raw)
  To: 24932; +Cc: Syohei YOSHIDA

Second argument of module function is ptrdiff_t, not int.
This fixes a compile warning.
---
 modules/modhelp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/modhelp.py b/modules/modhelp.py
index 5d8f89b..445cb3b 100755
--- a/modules/modhelp.py
+++ b/modules/modhelp.py
@@ -154,7 +154,7 @@ def main():
 int plugin_is_GPL_compatible;
 
 static emacs_value
-${c_func} (emacs_env *env, int nargs, emacs_value args[], void *data)
+${c_func} (emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data)
 {
   return env->intern (env, "t");
 }
-- 
2.9.3






^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-28 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-13  2:06 bug#24932: [PATCH] Update module function signature Syohei YOSHIDA
2016-11-13 21:02 ` Daniel Colascione
2016-11-13 21:05   ` Daniel Colascione
2016-11-28 15:51 ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).