G
Gon
Hello,
Can some one help me out how to rewrite the below line to avoid
errors/warings on a windows 64-bit platform?
char *new_string = (char *) malloc (strlen (old_string) + 1);
"argument' : conversion from 'size_t' to 'unsigned int', possible loss
of data" is the warning I am getting.
I have many such lines in my code. I know this was poor coding but I
have got to work on this,
I am sure this must have discussed earlier. But please help me out.
Thanks in advance,
Gon
Can some one help me out how to rewrite the below line to avoid
errors/warings on a windows 64-bit platform?
char *new_string = (char *) malloc (strlen (old_string) + 1);
"argument' : conversion from 'size_t' to 'unsigned int', possible loss
of data" is the warning I am getting.
I have many such lines in my code. I know this was poor coding but I
have got to work on this,
I am sure this must have discussed earlier. But please help me out.
Thanks in advance,
Gon