Skip to content

Commit 3e66c3e

Browse files
fix call to toCStringi being wrong
1 parent 45520e3 commit 3e66c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/numem/mem/string.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public:
331331
import core.stdc.string : strncmp;
332332
if (s.size() < this.size()) return -1;
333333
if (s.size() > this.size()) return 1;
334-
return strncmp(this.toCStringIO(), s.toCStringIO(), this.size());
334+
return strncmp(this.toCStringi(), s.toCStringi(), this.size());
335335
}
336336

337337
/**

0 commit comments

Comments
 (0)