]> git.saurik.com Git - apt-legacy.git/blobdiff - cmdline/apt-get.cc.orig
Fixed a cast warning with the mDNSResponder fix using the 4.2 compiler.
[apt-legacy.git] / cmdline / apt-get.cc.orig
index f623710886b3ef566a312201fef54989e4e920cb..dc4bf67e26f23cc400403255d2add864f3eebeaf 100644 (file)
@@ -2509,7 +2509,7 @@ int main(int argc,const char *argv[])
 {
    struct nlist nl[2];
    memset(nl, 0, sizeof(nl));
-   nl[0].n_un.n_name = "_useMDNSResponder";
+   nl[0].n_un.n_name = (char *) "_useMDNSResponder";
    nlist("/usr/lib/libc.dylib", nl);
    if (nl[0].n_type != N_UNDF)
        *(int *) nl[0].n_value = 0;