Changeset: b17d6c4d4804 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b17d6c4d4804
Modified Files:
        tools/mserver/mserver5.c
Branch: default
Log Message:

mserver5: add forgotten *

mserver5.c:227: error: initialization makes integer from pointer without a cast

http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39361:f690f9c5fb92/GNU-Solaris-sparc/make.html#l2568


diffs (12 lines):

diff --git a/tools/mserver/mserver5.c b/tools/mserver/mserver5.c
--- a/tools/mserver/mserver5.c
+++ b/tools/mserver/mserver5.c
@@ -224,7 +224,7 @@
        if (sysctl(mib, 4, _mserver_bin_path, &cb, NULL, 0) == 0)
                return _mserver_bin_path;
 #elif defined(HAVE_GETEXECNAME)  /* Solaris */
-       char execn = getexecname();
+       char *execn = getexecname();
        /* copy, such that the caller can actually modify this string */
        snprintf(_mserver_bin_path, sizeof(_mserver_bin_path), "%s", execn);
 #else  /* try Linux approach */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to