Eliminate 'ISO C90 does not support long long' compiler pedantic warning
authorIvan Maidanski <ivmai@mail.ru>
Tue, 11 Oct 2016 14:52:54 +0000 (17:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 12 Oct 2016 06:35:55 +0000 (09:35 +0300)
commit53726beb93453583ce8413791dc731d1779e959d
treeab4c2c6be0dbfaad87cb0c915101f9fe36ef5610
parentd703691650ee8e6c3922f04f3a26f8827855cfad
Eliminate 'ISO C90 does not support long long' compiler pedantic warning

Long (32-bit) type is sufficient to represent time delta (duration)
in test_stack.

* tests/test_stack.c (get_msecs): Change return type from long long
to unsigned long (use lowest 32 bits of time value).
* tests/test_stack.c (main): Change type of start_time local variable
to unsigned long; remove redundant type cast.
tests/test_stack.c