Fixed CFU
authorCeriel Jacobs <c.j.h.jacobs@vu.nl>
Wed, 15 Jun 2011 08:56:58 +0000 (10:56 +0200)
committerNick Downing <nick@ndcode.org>
Wed, 17 Apr 2019 14:15:20 +0000 (00:15 +1000)
util/int/do_conv.c

index 6752933..cab003f 100644 (file)
@@ -357,22 +357,22 @@ DoCFU()
                        wtrap(WILLCONV, EILLINS);
                }
                f = fpop(4L);
-               npush((long) f, 2L);
+               npush((unsigned long) f, 2L);
                return;
        case 44:
                f = fpop(4L);
-               npush((long) f, 4L);
+               npush((unsigned long) f, 4L);
                return;
        case 82:
                if (wsize == 4) {
                        wtrap(WILLCONV, EILLINS);
                }
                f = fpop(8L);
-               npush((long) f, 2L);
+               npush((unsigned long) f, 2L);
                return;
        case 84:
                f = fpop(8L);
-               npush((long) f, 4L);
+               npush((unsigned long) f, 4L);
                return;
        default:
                wtrap(WILLCONV, EILLINS);