summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
commita8acf366d3e943fb636e24b69c8c67152770d2cc (patch)
tree99d51b8b56489fd03f32cd291e8570834954ac90 /src/gui/windows/whoisonline.cpp
parente2b84bddbb089f43a9c2c3741545378614481a32 (diff)
downloadmv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip
Fix code style.
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));