diff options
| author | 2018-11-27 19:40:08 -0500 | |
|---|---|---|
| committer | 2018-11-27 19:40:08 -0500 | |
| commit | 4dff175cd8880adccabd2b2e95911cd20acccf74 (patch) | |
| tree | a6cf661b5437af43abce0176bd33448865c2b345 /src/modules/objects/KvsObject_socket.cpp | |
| parent | Remove the keyword register from the code. (diff) | |
| download | KVIrc-4dff175cd8880adccabd2b2e95911cd20acccf74.tar.gz KVIrc-4dff175cd8880adccabd2b2e95911cd20acccf74.tar.bz2 KVIrc-4dff175cd8880adccabd2b2e95911cd20acccf74.zip | |
Fix compiler warnings in the code.
Diffstat (limited to 'src/modules/objects/KvsObject_socket.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/KvsObject_socket.cpp b/src/modules/objects/KvsObject_socket.cpp index d53fda4ff..ba47de24d 100644 --- a/src/modules/objects/KvsObject_socket.cpp +++ b/src/modules/objects/KvsObject_socket.cpp @@ -408,7 +408,7 @@ KVSO_CLASS_FUNCTION(socket, read) // convert NULLS to char 255 char * buffer = (char *)KviMemory::allocate(iLen); m_pSocket->read(buffer, iLen); - for(size_t i{}; i < iLen; i++) + for(int i{}; i < iLen; i++) { if(!buffer[i]) buffer[i] = (char)(255); |
