From: Igor Gnatenko Date: Wed, 4 Jul 2018 14:06:22 +0000 (+0100) Subject: bindings: fix dir2str function return type X-Git-Tag: 0.6.35~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fc7a1596612ee1136bd5000ebdbbe314561565;p=thirdparty%2Flibsolv.git bindings: fix dir2str function return type Fixes: 316c436de3b57e1c22d8368b366ef62a66d72e8e Signed-off-by: Igor Gnatenko --- diff --git a/bindings/solv.i b/bindings/solv.i index 6f702803..e271ea48 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -3920,7 +3920,7 @@ rb_eval_string( Repodata *data = repo_id2repodata($self->repo, $self->id); return repodata_str2dir(data, dir, create); } - const char dir2str(Id did, const char *suf = 0) { + const char *dir2str(Id did, const char *suf = 0) { Repodata *data = repo_id2repodata($self->repo, $self->id); return repodata_dir2str(data, did, suf); }