Use actual null characters instead of casting NULL to a char.
Terminate strings by using '\0' instead of (char)NULL. While the latter techically works, it causes recent gcc versions to throw compiler warnings.
Please register or sign in to comment
Terminate strings by using '\0' instead of (char)NULL. While the latter techically works, it causes recent gcc versions to throw compiler warnings.