Don't compare int' with size_t (from sizeof()`).

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-08-31 23:11:31 +09:00
parent d0b5d720ac
commit b9dfd0438f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ dump_float(mrb_state *mrb, uint8_t *buf, mrb_float f)
memcpy(buf, u.s, sizeof(double));
}
else {
int i;
size_t i;
for (i=0; i<sizeof(double); i++) {
buf[i] = u.s[sizeof(double)-i-1];