aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/idea
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-20 11:47:20 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-20 11:47:20 +0100
commite80af0edafe49ec2576b7fa3a24d4596083698b6 (patch)
tree0b3a0cb73736e4797cf090884a121dd9304b833a /test/monniaux/idea
parentc10a470bf10e0f1caf0df9d8491ae01464146b55 (diff)
downloadcompcert-kvx-e80af0edafe49ec2576b7fa3a24d4596083698b6.tar.gz
compcert-kvx-e80af0edafe49ec2576b7fa3a24d4596083698b6.zip
vire des scories INT_DIV et INT_MOD
Diffstat (limited to 'test/monniaux/idea')
-rw-r--r--test/monniaux/idea/idea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/monniaux/idea/idea.c b/test/monniaux/idea/idea.c
index a428d7b1..884d256d 100644
--- a/test/monniaux/idea/idea.c
+++ b/test/monniaux/idea/idea.c
@@ -60,8 +60,8 @@ from */
#define TEST
#define IDEA32
-#define INT_MOD(x,y) ((long)(x) % (y))
-#define INT_DIV(x,y) ((long)(x) / (y))
+#define INT_MOD(x,y) ((x) % (y))
+#define INT_DIV(x,y) ((x) / (y))
#include <string.h>
#include <stdlib.h>