On 10/23/14 11:32, Marino Mileti wrote:
Version is 3.3.0.0 mr3.5.0.0
I've seen that the problem is during the "ping-pong test" when the value
of
bencode_item is assigned
The error is on __bencode_dictionary_init, and the istruction is :
dict->value=0
I've read ARM documentation and it says to add __attribute__((packed)) to
value definition inside bencode_item struct. In my case i've done:
long long int value __attribute__((packed));
I've tried and it works. I don't know if this is the right solution.
What do you think about it?
Interesting. I'm not sure why this is required for this value, but hey,
if it works... Let me know if you run into any more trouble.
cheers