Skip to content

Commit 91c6818

Browse files
committed
fix mbstring
1 parent 8e54ece commit 91c6818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3348,7 +3348,7 @@ try_next_encoding:;
33483348
}
33493349

33503350
for (size_t i = 0; i < length; i++) {
3351-
array[i].demerits *= (uint64_t) array[i].multiplier;
3351+
array[i].demerits = (uint64_t) (array[i].demerits * array[i].multiplier);
33523352
}
33533353

33543354
return length;

0 commit comments

Comments
 (0)