diff src/emodules.c @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 56144c8593a8
children
line wrap: on
line diff
--- a/src/emodules.c	Sat Dec 12 21:49:31 2015 +0000
+++ b/src/emodules.c	Sun Dec 13 13:22:58 2015 +0000
@@ -379,7 +379,7 @@
 
   ellcc_rev = (const long *) dll_variable (dlhandle,
 					   (const Ibyte *) "emodule_compiler");
-  if (ellcc_rev == NULL || *ellcc_rev <= 0L)
+  if (ellcc_rev == NULL || *ellcc_rev <= E0)
     signal_error (Qdll_error, "Invalid dynamic module: Missing symbol `emodule_compiler'", Qunbound);
   if (*ellcc_rev > EMODULES_REVISION)
     signal_ferror (Qdll_error, "Invalid dynamic module: Unsupported version `%ld(%ld)'", *ellcc_rev, EMODULES_REVISION);