diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-31 17:57:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-31 18:00:08 +0300 |
commit | f90891d87e351ef1c9509007a18dc72ee5025809 (patch) | |
tree | 11038eaf4249531fbd698d7312168abd5a4a719a /source/blender/blenkernel/intern/image.c | |
parent | 9e9cd77b8de68015a98659671272cc9d78710e69 (diff) |
Add PIL_check_seconds_timer_i to avoid casting
note, win32 casts still casts from double.
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 4404182192e..b103995e449 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -860,14 +860,14 @@ void BKE_image_memorypack(Image *ima) void BKE_image_tag_time(Image *ima) { - ima->lastused = (int)PIL_check_seconds_timer(); + ima->lastused = PIL_check_seconds_timer_i(); } #if 0 static void tag_all_images_time() { Image *ima; - int ctime = (int)PIL_check_seconds_timer(); + int ctime = PIL_check_seconds_timer_i(); ima = G.main->image.first; while (ima) { |