Code to move the servo motor

unsiged long presentMillis = millis();

Why am I making this silly mistake and why the compiler does not issue warning and why the sketch is working?