diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-24 01:44:33 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-24 01:44:33 +0000 |
commit | cb4ccd12dbad1ae41df413913eb8a9960dca47c3 (patch) | |
tree | 04e994e3f5a35d1b33a95cffc82a72f1f28f4da3 /src | |
parent | 3bb94dc1a6094f1306cdaf387973b6712244df6a (diff) | |
download | imv-cb4ccd12dbad1ae41df413913eb8a9960dca47c3.tar.gz |
Fix clang compile error
Diffstat (limited to 'src')
-rw-r--r-- | src/imv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1117,7 +1117,7 @@ void command_set_slideshow_duration(struct list *args, const char *argstr, void long int delta = 1000 * strtol(args->items[1], NULL, 10); /* Ensure we can't go below 0 */ - if(delta < 0 && (size_t)abs(delta) > imv->slideshow_image_duration) { + if(delta < 0 && (size_t)labs(delta) > imv->slideshow_image_duration) { imv->slideshow_image_duration = 0; } else { imv->slideshow_image_duration += delta; |