Skip to content

Commit

Permalink
Workaround cast for GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
tstenner committed Dec 2, 2023
1 parent 4210bb6 commit 6a85d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void sample::load_streambuf(
}
// read string contents
str.resize(len);
if (len > 0) load_raw(sb, str.data(), len);
if (len > 0) load_raw(sb, (void*) str.data(), len);
}
} else {
// read numeric channel data
Expand Down

0 comments on commit 6a85d6f

Please sign in to comment.