From 750b3dae7d510b08a5fecc606d72ee0c71611085 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 30 Nov 2008 22:17:22 +0000 Subject: fixed stream >> u_int8_t issue added win32 directory and a empty tunDevice.cpp --- src/buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.cpp') diff --git a/src/buffer.cpp b/src/buffer.cpp index 7a05ce2..5b1c03d 100644 --- a/src/buffer.cpp +++ b/src/buffer.cpp @@ -86,10 +86,10 @@ Buffer::Buffer(std::string hex_data, bool allow_realloc) : length_(hex_data.size for(u_int32_t i=0; i> std::hex >> tmp)) tmp = 0; - buf_[i] = tmp; + buf_[i] = static_cast(tmp); } } -- cgit v1.2.3