From 82201801336f64ee77851b9eaab9383ee4e442f0 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 8 Dec 2010 23:23:48 +0000 Subject: -- version 0.3.18 release git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- util.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'util.cpp') diff --git a/util.cpp b/util.cpp index 607dc3f11e..42256a9d0c 100644 --- a/util.cpp +++ b/util.cpp @@ -175,7 +175,6 @@ inline int OutputDebugStringF(const char* pszFormat, ...) va_start(arg_ptr, pszFormat); ret = vfprintf(fileout, pszFormat, arg_ptr); va_end(arg_ptr); - fflush(fileout); } } @@ -406,11 +405,11 @@ vector ParseHex(const char* psz) while (isspace(*psz)) psz++; char c = phexdigit[(unsigned char)*psz++]; - if (c == -1) + if (c == (char)-1) break; unsigned char n = (c << 4); c = phexdigit[(unsigned char)*psz++]; - if (c == -1) + if (c == (char)-1) break; n |= c; vch.push_back(n); -- cgit v1.2.3