summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-17 13:04:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-17 13:04:57 (GMT)
commit0d4878f2cbbf1b002c0d6e8460182aa73c15910c (patch)
tree7d9060a8a8ca67b84d675075c74ebbb52c8f6c3d
parent2cb3d9035ef9859570bf8facb1a2cc935743b0b6 (diff)
Fixed a mistake in ARM registers comparisons.
-rw-r--r--plugins/arm/register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/arm/register.c b/plugins/arm/register.c
index 3e1251b..c92cdcf 100644
--- a/plugins/arm/register.c
+++ b/plugins/arm/register.c
@@ -217,7 +217,7 @@ static int g_arm_register_compare(const GArmRegister *a, const GArmRegister *b)
{
int result; /* Bilan à retourner */
- result = sort_unsigned_long(b->index, b->index);
+ result = sort_unsigned_long(a->index, b->index);
return result;