This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".
The branch, master has been updated
via bf08959874ff7419c1dce724bedee2679b3ab0e6 (commit)
from 133e272f018ecc0a88cdfc202ea51c1aa16d1413 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=bf08959874ff7419c1dce724bedee2679b3ab0e6
commit bf08959874ff7419c1dce724bedee2679b3ab0e6
Author: Klaus Treichel <[email protected]>
Date: Sat Oct 31 09:59:22 2009 +0100
Fix compiler warnings where sizeof(int) != sizeof(void *)
diff --git a/ChangeLog b/ChangeLog
index fa58561..e765f0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-31 Klaus Treichel <[email protected]>
+
+ * jit/jit-compile.c (_JIT_RESULT_TO_OBJECT, _JIT_RESULT_FROM_OBJECT):
+ Fix compiler warnings on systems where sizeof(int) != sizeof(void *)
+
2009-10-30 Aleksey Demakov <[email protected]>
* include/jit/jit-function.h, jit/jit-function.c
diff --git a/jit/jit-compile.c b/jit/jit-compile.c
index 59bcca6..8910912 100644
--- a/jit/jit-compile.c
+++ b/jit/jit-compile.c
@@ -50,8 +50,8 @@ typedef struct
} _jit_compile_t;
-#define _JIT_RESULT_TO_OBJECT(x) ((void *) ((int) (x) - JIT_RESULT_OK))
-#define _JIT_RESULT_FROM_OBJECT(x) ((int) ((void *) (x)) + JIT_RESULT_OK)
+#define _JIT_RESULT_TO_OBJECT(x) ((void *) ((jit_nint) (x) -
JIT_RESULT_OK))
+#define _JIT_RESULT_FROM_OBJECT(x) ((jit_nint) ((void *) (x)) +
JIT_RESULT_OK)
/*
* This exception handler overrides a user-defined handler during compilation.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
jit/jit-compile.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
DotGNU Portable.NET Just In Time compiler (libjit)
_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits