/*
- * Portions Copyright (C) 2004-2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2010, 2013-2015 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
{
IPersistFile* ppf;
sprintf(linkpath, "%s\\BINDCtrl.lnk", path);
- sprintf(fileloc, "%s\\BINDCtrl.exe", m_binDir);
+ sprintf(fileloc, "%s\\BINDCtrl.exe", (LPCTSTR) m_binDir);
psl->SetPath(fileloc);
psl->SetDescription("BIND Control Panel");
}
if (GetFileAttributes("readme.txt") != -1) {
- sprintf(fileloc, "%s\\Readme.txt", m_targetDir);
+ sprintf(fileloc, "%s\\Readme.txt", (LPCTSTR) m_targetDir);
sprintf(linkpath, "%s\\Readme.lnk", path);
psl->SetPath(fileloc);
// You probably should change this to match it.
DWORD codePage = 0x040904B0;
- sprintf(queryString, "\\StringFileInfo\\%08X\\%s", codePage, value);
+ sprintf(queryString, "\\StringFileInfo\\%08X\\%s",
+ codePage, (LPCTSTR) value);
if(VerQueryValue(m_versionInfo, queryString, &viBlob, &blobLen))
return((char *)viBlob);