···4848+ if (!c) { /* referencePath doesn't contain a / means that dladdr gave us argv[0]
4949+ * and program was called from $PATH. Hack to get libs from NIX_NSS_LIBDIR */
5050+ referencePath = NIX_NSS_LIBDIR;
5151-+ c = &referencePath[sizeof(NIX_NSS_LIBDIR) - 1]; /* last / */
5151++ c = (char*) &referencePath[sizeof(NIX_NSS_LIBDIR) - 1]; /* last / */
5252+ }
5353 if (c) {
5454 size_t referencePathSize = 1 + c - referencePath;