learn_prediction_str in src-ordering/commit.c:204 uses int values to store time_t timestamps.
read_prediction_node in src-worddic/record.c:1597 retrieves int values to use as time_t
anthy/prediction.h: defines int timestamp;
These will mis-behave after 2038-01-19 when signed int values overflow. Those places should use 64-bit integers instead, e.g. long long or time_t types.
If compatibility with pre-existing binary files is a concern, unsigned int is a good option.
learn_prediction_strin src-ordering/commit.c:204 usesintvalues to store time_t timestamps.read_prediction_nodein src-worddic/record.c:1597 retrievesintvalues to use as time_tanthy/prediction.h: definesint timestamp;These will mis-behave after 2038-01-19 when signed int values overflow. Those places should use 64-bit integers instead, e.g.
long longortime_ttypes.If compatibility with pre-existing binary files is a concern,
unsigned intis a good option.