Skip to content

Commit 6a85d6f

Browse files
committed
Workaround cast for GCC
1 parent 4210bb6 commit 6a85d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sample.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ void sample::load_streambuf(
257257
}
258258
// read string contents
259259
str.resize(len);
260-
if (len > 0) load_raw(sb, str.data(), len);
260+
if (len > 0) load_raw(sb, (void*) str.data(), len);
261261
}
262262
} else {
263263
// read numeric channel data

0 commit comments

Comments
 (0)