fix gcc/clang warning and unnecessary implicit type conversion to different size/signedness (#187)
fix gcc/clang warning and unnecessary implicit type conversion to different size/signedness (#187)

* fixed gcc/clang warnings regarding implicit numeric to enum type conversion

* fixed unnecessary implicit type casts regarding size and signedness

Co-authored-by: Toni Uhlig <560b4a73ef190161c1bef6270557647d7f570942@rohde-schwarz.com>
zserge/jsmn