ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBam.cpp
(Generate patch)
# Line 185 | Line 185
185           adata=(uint8_t*)&str[5];
186           }
187        else if (atype == 'I' || atype == 'i') {
188 <         long long x=(long long)atoll(str + 5);
189 <         if (x < 0) {
188 >
189 >                 long long x=strtoll(str+5, NULL, 10); //(long long)atoll(str + 5);
190 >                 //long x=(long)atol(str + 5);
191 >                 if (x < 0) {
192               if (x >= -127) {
193                   atype='c';
194                   abuf[0] =  (int8_t)x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines