Fixed from_str method.

FossilOrigin-Name: 896d83a53c2beb6dba0ad013885f0c697382e7b7d318eb0c7689b61f0246ba93
This commit is contained in:
7u83@mail.ru 2015-05-07 18:30:10 +00:00
parent 718243d873
commit cd71310df0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ static struct mbag_item * from_str(const char *src)
mbag_item_t * i = mbag_item_new(MBAG_DWORD);
if (!i)
return NULL;
i->word=atoi(src);
i->dword=atoi(src);
return i;
}