Skip to content

Commit c5837e4

Browse files
authored
builtin: drop C in int.v (#22245)
1 parent 94a412d commit c5837e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/builtin/int.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ pub fn (b u8) repeat(count int) string {
606606
}
607607
mut bytes := unsafe { malloc_noscan(count + 1) }
608608
unsafe {
609-
C.memset(bytes, b, count)
609+
vmemset(bytes, b, count)
610610
bytes[count] = `0`
611611
}
612612
return unsafe { bytes.vstring_with_len(count) }

0 commit comments

Comments
 (0)