* mu-index: use unsigned instead of time_t

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-12 21:19:02 +03:00
parent 9a32d86851
commit 081e601c25
2 changed files with 15 additions and 15 deletions

View File

@ -116,7 +116,7 @@ insert_or_update_maybe (const char* fullpath, const char* mdir,
} }
/* it's there, but it's not up to date */ /* 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; break;
return MU_OK; /* nope: no need to insert/update! */ return MU_OK; /* nope: no need to insert/update! */

View File

@ -30,10 +30,10 @@ struct _MuIndex;
typedef struct _MuIndex MuIndex; typedef struct _MuIndex MuIndex;
struct _MuIndexStats { struct _MuIndexStats {
size_t _processed; /* number of msgs processed or counted */ unsigned _processed; /* number of msgs processed or counted */
size_t _updated; /* number of msgs new or updated */ unsigned _updated; /* number of msgs new or updated */
size_t _cleaned_up; /* number of msgs cleaned up */ unsigned _cleaned_up; /* number of msgs cleaned up */
size_t _uptodate; /* number of msgs already uptodate */ unsigned _uptodate; /* number of msgs already uptodate */
}; };
typedef struct _MuIndexStats MuIndexStats; typedef struct _MuIndexStats MuIndexStats;