hi all
when i compile the following program i get a compiler warning, but i don't understand why. for me the code seems to be all right and does legitimate this warning. so here is the code
$ gcc -o multiplication multiplication.c crypto.c
multiplication.c: In function 'main':
multiplication.c:26:12: warning: assignment makes pointer from integer without a cast [enabled by default]
buffer = multiplication_decrypt(key, argv[3]);
^
$
any ideas where this warning comes from?
thank you for helping me,
ritka
$ gcc -c -W{all,extra} multiplication.c
multiplication.c: In function ‘main’:
multiplication.c:16:3: warning: implicit declaration of function ‘isnumber’ [-Wimplicit-function-declaration]
multiplication.c:26:5: warning: implicit declaration of function ‘multiplication_decrypt’ [-Wimplicit-function-declaration]
multiplication.c:26:12: warning: assignment makes pointer from integer without a cast [enabled by default]
Now if you see your header, you wrote `multiplicarion_decrypt'
Also note that you have declared `isnumaber'