diff options
| author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-12-08 23:23:48 +0000 |
|---|---|---|
| committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-12-08 23:23:48 +0000 |
| commit | 82201801336f64ee77851b9eaab9383ee4e442f0 (patch) | |
| tree | 8c856352e75cd7b7aba6a2e08b759818bed98d59 /util.cpp | |
| parent | IsStandard() check for CScripts: only relay/include in blocks CScripts we can... (diff) | |
| download | discoin-82201801336f64ee77851b9eaab9383ee4e442f0.tar.xz discoin-82201801336f64ee77851b9eaab9383ee4e442f0.zip | |
-- version 0.3.18 releasev0.3.18
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'util.cpp')
| -rw-r--r-- | util.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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<unsigned char> 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); |