summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2014-10-08 22:15:27 +0000
committerDamien Miller <djm@mindrot.org>2014-10-13 11:39:23 +1100
commit5c0dafd38bf66feeeb45fa0741a5baf5ad8039ba (patch)
tree5ed58450b5a114a631390dba0309cc96a9dcff6a /compat.c
parentbb005dc815ebda9af3ae4b39ca101c4da918f835 (diff)
upstream commit
another -Wpointer-sign from clang
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.c b/compat.c
index 4d286e8e9..8f0f10c8a 100644
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: compat.c,v 1.85 2014/04/20 02:49:32 djm Exp $ */ 1/* $OpenBSD: compat.c,v 1.86 2014/10/08 22:15:27 djm Exp $ */
2/* 2/*
3 * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. 3 * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved.
4 * 4 *
@@ -234,7 +234,7 @@ filter_proposal(char *proposal, const char *filter)
234 debug2("Compat: skipping algorithm \"%s\"", cp); 234 debug2("Compat: skipping algorithm \"%s\"", cp);
235 } 235 }
236 buffer_append(&b, "\0", 1); 236 buffer_append(&b, "\0", 1);
237 fix_prop = xstrdup(buffer_ptr(&b)); 237 fix_prop = xstrdup((char *)buffer_ptr(&b));
238 buffer_free(&b); 238 buffer_free(&b);
239 free(orig_prop); 239 free(orig_prop);
240 240