summaryrefslogtreecommitdiff
path: root/tests/mpn/t-bdiv.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-02-25 12:45:34 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-02-25 12:45:34 +0100
commitdc8efef4a1615ddf7b7770a4314e186dea368ee9 (patch)
treea9b276edf266ef22790ccf8ea67d83b1eab31c9c /tests/mpn/t-bdiv.c
parent72cd4b527483652bcfec6c3a531ba81cca4e5543 (diff)
downloadgmp-dc8efef4a1615ddf7b7770a4314e186dea368ee9.tar.gz
Cast switch indices to placate HP's cc.
Diffstat (limited to 'tests/mpn/t-bdiv.c')
-rw-r--r--tests/mpn/t-bdiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mpn/t-bdiv.c b/tests/mpn/t-bdiv.c
index c863ccee9..4d56bfba7 100644
--- a/tests/mpn/t-bdiv.c
+++ b/tests/mpn/t-bdiv.c
@@ -218,7 +218,7 @@ main (int argc, char **argv)
if (t % 17 == 0)
dp[0] = GMP_NUMB_MAX;
- switch (t % 16)
+ switch ((int) t % 16)
{
case 0:
clearn = random_word (rands) % nn;