Fixed an error with the 32 bit time.
authorTimothy Manning <codedraftsman@gmail.com>
Thu, 5 Aug 2021 03:27:00 +0000 (15:27 +1200)
committerTimothy Manning <codedraftsman@gmail.com>
Thu, 5 Aug 2021 03:27:00 +0000 (15:27 +1200)
commit3619653fc6a2759bd90e725c760fd1a57030e396
tree47002b355cf6779fb8ac272c84558181e4c89a7f
parente12e51da5815d80399ec8f5b0da69c7cd7a0f42e
Fixed an error with the 32 bit time.

The compiler was throwing an "right shift count >= width of type"
error when yaffs was compiled using 32 bit time.

This was fixed by replacing an if statement with a #define.

Signed-off-by: Timothy Manning <codedraftsman@gmail.com>
yaffs_guts.c