mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Issue 1770 avoid compile error on some platforms
git-svn-id: https://zxing.googlecode.com/svn/trunk@2889 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
27cf98938d
commit
9a6ac33760
|
@ -43,7 +43,8 @@ using std::string;
|
|||
namespace {
|
||||
void add(string& result, char character) {
|
||||
#ifndef NO_ICONV
|
||||
char s[] = { character & 0xff };
|
||||
char character2 = character & 0xff;
|
||||
char s[] = {character2};
|
||||
char* ss = s;
|
||||
size_t sl = sizeof(s);
|
||||
char d[4];
|
||||
|
|
Loading…
Reference in a new issue