We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea23ab commit 30f94efCopy full SHA for 30f94ef
include/lsp-plug.in/resource/buffer.h
@@ -142,7 +142,7 @@ namespace lsp
142
* @param src data to append to the buffer
143
* @param count number of bytes to append
144
*/
145
- void append(const void *src, ssize_t count);
+ void append(const void *src, size_t count);
146
147
/**
148
* Append single byte to the buffer
src/main/runtime/buffer.cpp
@@ -233,7 +233,7 @@ namespace lsp
233
cap = 0;
234
}
235
236
- void dbuffer_t::append(const void *src, ssize_t count)
+ void dbuffer_t::append(const void *src, size_t count)
237
{
238
const uint8_t *v = static_cast<const uint8_t *>(src);
239
if (count >= cap)
0 commit comments