summaryrefslogtreecommitdiffstats
path: root/libcpu/i386_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/i386_parse.y')
-rw-r--r--libcpu/i386_parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/i386_parse.y b/libcpu/i386_parse.y
index 15a72b1f..5fc06825 100644
--- a/libcpu/i386_parse.y
+++ b/libcpu/i386_parse.y
@@ -309,10 +309,10 @@ instr: bytes ':' bitfieldopt kID bitfieldopt optargs
newp->mnemonic = $4;
if (newp->mnemonic != (void *) -1l
&& tfind ($4, &mnemonics,
- (comparison_fn_t) strcmp) == NULL)
+ (int (*)(const void *, const void *)) strcmp) == NULL)
{
if (tsearch ($4, &mnemonics,
- (comparison_fn_t) strcmp) == NULL)
+ (int (*)(const void *, const void *)) strcmp) == NULL)
error (EXIT_FAILURE, errno, "tsearch");
++nmnemonics;
}