--- ui64_test.c 2004/01/09 11:28:23 1.5
+++ ui64_test.c 2005/01/13 08:36:27 1.6
@@ -191,7 +191,7 @@
case '-': re = ui64_sub(a1, a2, &ov); break;
case '*': re = ui64_mul(a1, a2, &ov); break;
case '/': re = ui64_div(a1, a2, &ov); break;
- default: break;
+ default: re = ui64_zero(); break;
}
re_s = ui64_i2s(re, re_a, sizeof(re_a), 10);
ov_s = ui64_i2s(ov, ov_a, sizeof(ov_a), 10);
@@ -244,7 +244,7 @@
switch (table[i].op[0]) {
case '<': re = ui64_rol(a1, a2, &ov); break;
case '>': re = ui64_ror(a1, a2, &ov); break;
- default: break;
+ default: re = ui64_zero(); break;
}
re_s = ui64_i2s(re, re_a, sizeof(re_a), 10);
ov_s = ui64_i2s(ov, ov_a, sizeof(ov_a), 10);
|