Fix bug 857 - "64bit Windows build broken"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.filho@openbossa.org>
This commit is contained in:
parent
5ae1e6460b
commit
5860f786a0
1 changed files with 2 additions and 2 deletions
|
|
@ -253,7 +253,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_i < 0)
|
if (_i < 0)
|
||||||
_i = 16 - abs(_i);
|
_i = 16 - qAbs(_i);
|
||||||
|
|
||||||
return %CONVERTTOPYTHON[uint](%CPPSELF->c[_i]);
|
return %CONVERTTOPYTHON[uint](%CPPSELF->c[_i]);
|
||||||
</inject-code>
|
</inject-code>
|
||||||
|
|
@ -271,7 +271,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_i < 0)
|
if (_i < 0)
|
||||||
_i = 16 - abs(_i);
|
_i = 16 - qAbs(_i);
|
||||||
|
|
||||||
%CPPSELF->c[_i] = %CONVERTTOCPP[quint8](_value);
|
%CPPSELF->c[_i] = %CONVERTTOCPP[quint8](_value);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue