make λͺ
λ Ήμ΄λ₯Ό μ¬μ©ν μ λ€μκ³Ό κ°μ warningμ΄ λ©λλ€. κ°λ°νκ²½μ MacOSμ
λλ€.
./factorization.c:169:20: warning: passing 'unsigned char [65536]' to parameter
of type 'char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
find_prime_number(check, sqrt_number(number), number);
^~~~~
./factorization.c:111:30: note: passing argument to parameter 'check' here
void find_prime_number(char *check, unsigned int n_sqrt, unsigned int n)
^
1 warning generated.
complete
νμ
κ΄λ ¨ν΄ warningμ΄ λλ κ² κ°μλ° ν¨μ μ μΈν λ 맀κ°λ³μ νμ
μ μμ νμκ±°λ gcc μ΅μ
μ μ κ±°νλ©΄ ν΄κ²°ν μ μμ κ² κ°μ΅λλ€.