Skip to content

Commit 0cb5f05

Browse files
committed
hammer: Fix build
1 parent 4e0ed4d commit 0cb5f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hammer/runcommands.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ LPCTSTR GetErrorString()
219219
CProcessWnd procWnd;
220220

221221
template<intp nameSize, intp extensionSize>
222-
void* SplitFileNameFromPath(char* szDocLongPath,
222+
void SplitFileNameFromPath(char* szDocLongPath,
223223
char (&name)[nameSize],
224224
char (&extension)[extensionSize])
225225
{
@@ -312,7 +312,7 @@ bool RunCommands(CCommandArray& Commands, LPCTSTR pszOrigDocName)
312312
// create a parameter list (not always required)
313313
if(!cmd.bUseProcessWnd || cmd.iSpecialCmd)
314314
{
315-
p = szNewParms;
315+
char *p = szNewParms;
316316
ppParms[0] = szNewRun;
317317
int iArg = 1;
318318
BOOL bDone = FALSE;

0 commit comments

Comments
 (0)