summary refs log tree commit diff
path: root/debug/backtrace-tst.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/backtrace-tst.c')
-rw-r--r--debug/backtrace-tst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/backtrace-tst.c b/debug/backtrace-tst.c
index d899fb009f..ce80685bf8 100644
--- a/debug/backtrace-tst.c
+++ b/debug/backtrace-tst.c
@@ -22,7 +22,7 @@ compare (const void *p1, const void *p2)
 	}
     }
 
-  return *(uint32_t *) p1 - *(uint32_t *) p2;
+  return *(const uint32_t *) p1 - *(const uint32_t *) p2;
 }