Fixed from_str method.
FossilOrigin-Name: 896d83a53c2beb6dba0ad013885f0c697382e7b7d318eb0c7689b61f0246ba93
This commit is contained in:
parent
718243d873
commit
cd71310df0
@ -25,7 +25,7 @@ static struct mbag_item * from_str(const char *src)
|
|||||||
mbag_item_t * i = mbag_item_new(MBAG_DWORD);
|
mbag_item_t * i = mbag_item_new(MBAG_DWORD);
|
||||||
if (!i)
|
if (!i)
|
||||||
return NULL;
|
return NULL;
|
||||||
i->word=atoi(src);
|
i->dword=atoi(src);
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user