mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
-- version 0.3.18 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
a206a23980
commit
8220180133
5 changed files with 9 additions and 8 deletions
5
util.cpp
5
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<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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue