summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index f6d7173d0..a23e24437 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -496,7 +496,8 @@ size_t WhoIsOnline::memoryWrite(void *restrict ptr,
if (!stream)
return 0;
- WhoIsOnline *restrict const wio = reinterpret_cast<WhoIsOnline *restrict>(stream);
+ WhoIsOnline *restrict const wio =
+ reinterpret_cast<WhoIsOnline *restrict>(stream);
const size_t totalMem = size * nmemb;
wio->mMemoryBuffer = static_cast<char*>(realloc(wio->mMemoryBuffer,
static_cast<size_t>(wio->mDownloadedBytes) + totalMem));