Skip to content

Commit 12c760f

Browse files
committed
Fixed typo
1 parent 8de3fac commit 12c760f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lnt/testing/profile/cPerf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ ssize_t getline(char** lineptr, size_t* n, FILE* stream) {
153153
char* p = bufptr;
154154
while (c != EOF) {
155155
size_t offset = (size_t)(p - bufptr);
156-
if ((offset + 2) > size)) {
156+
if ((offset + 2) > size) {
157157
size = size + 128;
158158
bufptr = (char*)realloc(bufptr, size);
159159
if (bufptr == nullptr) return -1;

0 commit comments

Comments
 (0)