fix typecast
fix UB when reading integer types
resolve warnings
micronbt ======== micronbt is a tiny Named Binary Tag parser written in C99 and (optionally) dependent only on libc for dynamic memory allocation. It can be easily embedded into any project by simply copying micronbt.c and micronbt.h. Currently the library can only read data. It is also currently only supported for little-endian CPU architectures. Man-page documentation is planned, see examples for now. See NBT.txt and https://wiki.vg/NBT for the specification.