summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transport_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport_local.c b/src/transport_local.c
index a9f6678e9..64ac183d1 100644
--- a/src/transport_local.c
+++ b/src/transport_local.c
@@ -16,8 +16,8 @@ typedef struct {
static int cmp_refs(const void *a, const void *b)
{
- const char *stra = *(const char **) a;
- const char *strb = *(const char **) b;
+ const char *stra = *(const char * const *) a;
+ const char *strb = *(const char * const *) b;
return strcmp(stra, strb);
}