diff options
Diffstat (limited to 'src/x86util.h')
-rw-r--r-- | src/x86util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x86util.h b/src/x86util.h index 9fcdfff..214f30e 100644 --- a/src/x86util.h +++ b/src/x86util.h @@ -1,5 +1,5 @@ /* - * Copyright © 2024 Michael Smith <mikesmiffy128@gmail.com> + * Copyright © 2025 Michael Smith <mikesmiffy128@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -28,7 +28,7 @@ int _len = x86_len(p); \ if_cold (_len == -1) { \ errmsg_errorx("unknown or invalid instruction looking for %s", tgt); \ - return false; \ + return 0; \ } \ (p) += _len; \ } while (0) |