aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-04-21 16:14:04 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-21 12:16:51 -0300
commitc1c335f71cf7c6d95dbf7385e3c51e143ba8b2e9 (patch)
treee9da2cc8c6b1eb60428efcf6547001ff9be67dfc /src/CMakeLists.txt
parent57dafc70f61fab9c1a60c90b2eab786f9fa0dd43 (diff)
downloadrneovim-c1c335f71cf7c6d95dbf7385e3c51e143ba8b2e9.tar.gz
rneovim-c1c335f71cf7c6d95dbf7385e3c51e143ba8b2e9.tar.bz2
rneovim-c1c335f71cf7c6d95dbf7385e3c51e143ba8b2e9.zip
fix -Wconversion warnings for rstream
I'm not sure whether to go for signed or unsigned types for the offsets, but without a doubt size_t is a better alternative than uint32_t. Added casts after checking bounds before and after calling external libraries (in this case libuv).
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 43d8c9c57f..41b3b92a18 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,6 +42,7 @@ set(CONV_SRCS
os/signal.c
os/users.c
os/wstream.c
+ os/rstream.c
)
set_source_files_properties(