diff options
author | Ran Benita <ran@unusedvar.com> | 2019-12-27 22:08:57 +0200 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2019-12-27 22:09:34 +0200 |
commit | 521bb498ed23692c270b9486843de053e2cf9a9e (patch) | |
tree | 0929158d7f44a16157545b1dd36ab1e582c3e13d /src | |
parent | fbd0e643d811da899110b1bc5f899284adef48e4 (diff) | |
download | xorg-lib-libxkbcommon-521bb498ed23692c270b9486843de053e2cf9a9e.tar.gz |
xkbcomp: remove cast which triggers warning on gcc
Will need some other way to take care of the warning on MSVC.
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xkbcomp/scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/scanner.c b/src/xkbcomp/scanner.c index 65eef53..b349499 100644 --- a/src/xkbcomp/scanner.c +++ b/src/xkbcomp/scanner.c @@ -52,7 +52,7 @@ number(struct scanner *s, int64_t *out, int *out_tok) else if (is_float) /* The parser currently just ignores floats, so the cast is * fine - the value doesn't matter. */ - *out = (int64_t) strtod(start, &end); + *out = strtod(start, &end); else *out = strtoul(start, &end, 10); if (errno != 0 || s->s + s->pos != end) |