Fixed bug with array size and fixed some warnings
Fixed bug with array size and fixed some warnings

Signed-off-by: Paul RATHGEB <4b58b212e7bbe1f5ece5358ed7a7502d6aaa3b6e@skynet.be>

projectiota/jsmnrpc,projectiota/erpc