C pointers and arrays. i'm writing in C, and I've got this warning for this line *p_mem = charbuff;. assignment makes pointer from integer. I am learning c system call, open(),write(),read(),lseek(). My program having some error which are assignment makes integer from pointer without a cast and initialization makes integer from pointer without a cast.. makes integer from pointer without cast. 539.636.721.7.. Help with warning assignment makes integer from pointer without a cast. assignment makes pointer assignment makes integer from pointer without a cast error in c program. Pointers.Hello all, I have get a warning for this line: *updatedString = "\0"; and the error is: "warning: assignment makes integer from pointer without a cast" The pointer string is malloced and doesn't seem to have any problems.. I have this program: # include <stdio.h> int main() { int *s = NULL, *z = NULL; printf("Address s = %p