Fixed non-standard C code.