summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-09 12:42:43 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-09 12:42:43 +0100
commitb5e94bec369329891364f38a8468e9d0ed4b6b1e (patch)
tree8f8dbf03824533aef33908bd5e8a1b80263e09bb /src/options.c
parent4956bba42e65739a28e14d25cd05ee4601f67ca1 (diff)
X11 uses unsigned long int for window IDs (see X11/X.h)
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index 65e5a10..aa9d4c8 100644
--- a/src/options.c
+++ b/src/options.c
@@ -835,7 +835,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.use_conversion_cache = 0;
break;
case 251:
- opt.x11_windowid = atoi(optarg);
+ opt.x11_windowid = atol(optarg);
break;
default:
break;