diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-07 13:01:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-07 13:01:35 +0000 |
commit | 815c0482cbdf89fce2ac7d4d8df9908fcac2e1a0 (patch) | |
tree | 1b58a6cba347d43cf879d6ccb8571eb2d711e215 /opcodes/z8kgen.c | |
parent | eae14d64d117e16e474dfcf35353c50ce4a22fb5 (diff) | |
download | gdb-815c0482cbdf89fce2ac7d4d8df9908fcac2e1a0.zip gdb-815c0482cbdf89fce2ac7d4d8df9908fcac2e1a0.tar.gz gdb-815c0482cbdf89fce2ac7d4d8df9908fcac2e1a0.tar.bz2 |
* z8kgen.c (func): Fix thinko last patch.
Diffstat (limited to 'opcodes/z8kgen.c')
-rw-r--r-- | opcodes/z8kgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/z8kgen.c b/opcodes/z8kgen.c index cbd316d..8d418f7 100644 --- a/opcodes/z8kgen.c +++ b/opcodes/z8kgen.c @@ -574,7 +574,7 @@ func (const void *p1, const void *p2) int ret = strcmp (a->name, b->name); if (ret != 0) return ret; - return p1 > p2; + return p1 > p2 ? 1 : -1; } |