summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r--src/gui/windows/whoisonline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index f5183ad92..ff5811ed8 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -116,9 +116,10 @@ class WhoIsOnline final : public Window,
/**
* A libcurl callback for writing to memory.
*/
- static size_t memoryWrite(void *ptr, size_t size,
+ static size_t memoryWrite(void *restrict ptr,
+ size_t size,
size_t nmemb,
- FILE *stream);
+ FILE *restrict stream);
#endif
const std::string prepareNick(const std::string &restrict nick,