I fixed some compiler warnings that came up with my standard gcc flags, nothing serious.
BTW, the code uses some gcc extensions which are not compatible through compilers and/or systems: - pointer arithmetic with void * - function pointer and void * assignments - gcc variadic macro extensions
FYI, my gcc flags are -std=gnu99 -pedantic -O2 -g -Wall -Wextra -Wstrict-prototypes -Wold-style- definition -Wwrite-strings -Wshadow -Wformat -Wformat-security -Wunreachable- code -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wlogical-op -Wsuggest-attribute=noreturn -Wsuggest-attribute=format - D_FORTIFY_SOURCE=2
Regards, Tim