src/ucx.c

changeset 273
9c1591b3c4a4
parent 270
3d80d425543b
child 331
3b985a4eb05b
--- a/src/ucx.c	Sun Jan 21 10:57:32 2018 +0100
+++ b/src/ucx.c	Sun Jan 21 14:10:59 2018 +0100
@@ -49,7 +49,7 @@
 int ucx_szmul(size_t a, size_t b, size_t *result) {
     if(a == 0 || b == 0) {
         *result = 0;
-        return 1;
+        return 0;
     }
     size_t r = a * b;
     if(r / b == a) {
@@ -61,3 +61,4 @@
     }
 }
 #endif
+

mercurial