Millis function cause freezeing of Arduino

Hi everyone,
I have realized that "millis()" function ,called after 20 minutes from begining , causes the freezing....
has anyone experianced with this problem?

Thanks...

has anyone experianced with this problem?

Not me.
Anyone?

Of course, you could post some code.

Exactly 20 minutes? I don't really know. I've had sketches running longer than 20 minutes that called millis() quite frequently, with no problems.

I am feeling a bit cold, but that is because it is the Winter solstice.

Have you got it as the correct data type?

I see it should be unsigned long, but on my laptop it compiles even if I choose int... I don't have a uno here to see if falls over when the data type proves to be too small.

Edit... that said, 20 minutes is 1 200 000 millis and none of the data types has that limit :~

I don't believe the Arduino can freeze, it is probably just doing something you are not expecting.