x86: fix disassembler build after 1a3b4f90bc5f
authorJan Beulich <jbeulich@suse.com>
Fri, 26 May 2023 10:44:52 +0000 (12:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 May 2023 10:44:52 +0000 (12:44 +0200)
commit93497bf9ab13a3d2aa06ff329155beca23e323fa
tree531a88ddf5dc2cafb325156a8c911c0369fb8b22
parenta3b86780b6cc9d5915a781bef0d901dcc5d9c07f
x86: fix disassembler build after 1a3b4f90bc5f

In commit 1a3b4f90bc5f ("x86: convert two pointers to (indexing)
integers") I neglected the fact that compilers may warn about comparing
ptrdiff_t (signed long) with size_t (unsigned long) values. Since just
before we've checked that the value is positive, simply add a cast
(despite my dislike for casts).
opcodes/i386-dis.c