diff options
| author | Paul Eggert | 2011-05-12 18:10:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-12 18:10:46 -0700 |
| commit | d4e3e4d3ad71e45bcb15781e3f95ebb2687502a2 (patch) | |
| tree | cb9cfa965cbde6de9e4fb716ff0c4640e2a38017 /src/image.c | |
| parent | f6a24d19906993b975e7be822abbb3cfce719751 (diff) | |
| download | emacs-d4e3e4d3ad71e45bcb15781e3f95ebb2687502a2.tar.gz emacs-d4e3e4d3ad71e45bcb15781e3f95ebb2687502a2.zip | |
* dispextern.h (struct image): Don't assume time_t <= unsigned long.
* image.c (clear_image_cache): Likewise.
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index 23da03b6264..2562d79a782 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1523,7 +1523,7 @@ clear_image_cache (struct frame *f, Lisp_Object filter) | |||
| 1523 | { | 1523 | { |
| 1524 | /* Free cache based on timestamp. */ | 1524 | /* Free cache based on timestamp. */ |
| 1525 | EMACS_TIME t; | 1525 | EMACS_TIME t; |
| 1526 | unsigned long old; | 1526 | time_t old; |
| 1527 | int delay, nimages = 0; | 1527 | int delay, nimages = 0; |
| 1528 | 1528 | ||
| 1529 | for (i = 0; i < c->used; ++i) | 1529 | for (i = 0; i < c->used; ++i) |