[c] warning: assignment makes integer from pointer without a cast