signedness using tilde

Hi

I'm a beginner and as a beginner, I start with simple code....

Kiel does not like tilde at the line GPIOA->ODR &=~0x20;

with the warning: main.c(15): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion].

Without that line, I could switch on the LED connected, but once I add this line, the LED is always on.

Any idea?

Thanks in advance

Fausto Tromba

0