B-0 removed reference to vld.h file
B-0 added proper casts to remove warnings due to datatype conversions
B-0 added cast to prevent warning when compiling in 64 bits
B-0 removed warning compiling in 64 bits with casts from 64 bits integers to 32 bits
Merge pull request #7 from jsbattig/fix_compilation

Fix compilation and warnings