From: Chris Wareham Date: Tue, 14 Aug 2012 11:59:44 +0000 (+0100) Subject: Have to pass a const char * to function expecting char * here, otherwise it fails... X-Git-Tag: 2.2.0b~82^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de82eebdd56c02ae200bf2d9ec60df053919e7e7;p=oweals%2Fcde.git Have to pass a const char * to function expecting char * here, otherwise it fails to link thanks to the declaration of a stub wth non-const param. --- diff --git a/cde/lib/tt/lib/db/db_server.h b/cde/lib/tt/lib/db/db_server.h index 63b66cb8..cd3b6756 100644 --- a/cde/lib/tt/lib/db/db_server.h +++ b/cde/lib/tt/lib/db/db_server.h @@ -862,7 +862,7 @@ bool_t xdr_tt_garbage_collect_results(XDR *, _tt_garbage_collect_results *); #include "db/tt_db_client_utils.h" -extern int *_tt_min_auth_level_1(const char**, CLIENT*, clnt_stat *status); +extern int *_tt_min_auth_level_1(char**, CLIENT*, clnt_stat *status); extern _Tt_isam_results *_tt_isaddindex_1(_Tt_isaddindex_args*, CLIENT*); extern _Tt_isam_results *_tt_isbuild_1(_Tt_isbuild_args*, CLIENT*); extern _Tt_isam_results *_tt_isclose_1(int*, CLIENT*);