Patch for #8

Solves the negative multiplier warning at str_repeat call (#8)