]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
in C, casting of lvalues is illegal.
authorDirk Mueller <dmuell@gmx.net>
Sun, 7 Dec 2003 23:36:14 +0000 (23:36 +0000)
committerDirk Mueller <dmuell@gmx.net>
Sun, 7 Dec 2003 23:36:14 +0000 (23:36 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2099

coregrind/vg_syscalls.c

index 5437d5085654e1d83533a0514180513edf699d08..6ac5aaea6780df1942bd0549d266c9aa821d8b27 100644 (file)
@@ -815,7 +815,7 @@ static Bool fd_allowed(Int fd, const Char *syscall, ThreadId tid)
        POST(new) __attribute__((alias(STR(after_##old))))
 
 #define SYSNO  (tst->m_eax)            /* in PRE(x)  */
-#define res    ((Int)tst->m_eax)       /* in POST(x) */
+#define res    (tst->m_eax)    /* in POST(x) */
 #define arg1   (tst->m_ebx)
 #define arg2   (tst->m_ecx)
 #define arg3   (tst->m_edx)