Changeset 1921

Show
Ignore:
Timestamp:
11/11/08 16:01:24 (2 months ago)
Author:
batt
Message:

Fix warning on platform with int wide 16 bits.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bertos/fs/battfs.h

    r1896 r1921  
    109109 * Sentinel used to keep trace of unset pages in disk->page_array. 
    110110 */ 
    111 #define PAGE_UNSET_SENTINEL ((1 << (CPU_BITS_PER_CHAR * sizeof(pgcnt_t))) - 1
     111#define PAGE_UNSET_SENTINEL ((pgcnt_t)((1L << (CPU_BITS_PER_CHAR * sizeof(pgcnt_t))) - 1)
    112112 
    113113/**