[PATCH] C Library: Fix warning: comparison between signed and unsigned