diff options
author | djm@openbsd.org <djm@openbsd.org> | 2014-10-09 00:15:27 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-10-13 02:39:23 +0200 |
commit | 5c0dafd38bf66feeeb45fa0741a5baf5ad8039ba (patch) | |
tree | 5ed58450b5a114a631390dba0309cc96a9dcff6a /compat.c | |
parent | upstream commit (diff) | |
download | openssh-5c0dafd38bf66feeeb45fa0741a5baf5ad8039ba.tar.xz openssh-5c0dafd38bf66feeeb45fa0741a5baf5ad8039ba.zip |
upstream commit
another -Wpointer-sign from clang
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.85 2014/04/20 02:49:32 djm Exp $ */ +/* $OpenBSD: compat.c,v 1.86 2014/10/08 22:15:27 djm Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -234,7 +234,7 @@ filter_proposal(char *proposal, const char *filter) debug2("Compat: skipping algorithm \"%s\"", cp); } buffer_append(&b, "\0", 1); - fix_prop = xstrdup(buffer_ptr(&b)); + fix_prop = xstrdup((char *)buffer_ptr(&b)); buffer_free(&b); free(orig_prop); |