* mu-index: use unsigned instead of time_t
This commit is contained in:
@ -116,7 +116,7 @@ insert_or_update_maybe (const char* fullpath, const char* mdir,
|
||||
}
|
||||
|
||||
/* it's there, but it's not up to date */
|
||||
if ((size_t)filestamp >= (size_t)data->_dirstamp)
|
||||
if ((unsigned)filestamp >= (unsigned)data->_dirstamp)
|
||||
break;
|
||||
|
||||
return MU_OK; /* nope: no need to insert/update! */
|
||||
|
||||
@ -30,10 +30,10 @@ struct _MuIndex;
|
||||
typedef struct _MuIndex MuIndex;
|
||||
|
||||
struct _MuIndexStats {
|
||||
size_t _processed; /* number of msgs processed or counted */
|
||||
size_t _updated; /* number of msgs new or updated */
|
||||
size_t _cleaned_up; /* number of msgs cleaned up */
|
||||
size_t _uptodate; /* number of msgs already uptodate */
|
||||
unsigned _processed; /* number of msgs processed or counted */
|
||||
unsigned _updated; /* number of msgs new or updated */
|
||||
unsigned _cleaned_up; /* number of msgs cleaned up */
|
||||
unsigned _uptodate; /* number of msgs already uptodate */
|
||||
};
|
||||
typedef struct _MuIndexStats MuIndexStats;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user