dtpad: kill one warning

This commit is contained in:
Marcin Cieslak
2012-09-24 03:15:21 +02:00
committed by Jon Trulson
parent e077181a46
commit 86cb67de90

View File

@@ -1107,7 +1107,7 @@ SetWorkSpaceHints(
{ {
ptr = MbStrchr (workspaces, ' '); ptr = MbStrchr (workspaces, ' ');
if (ptr != NULL) *ptr = NULL; if (ptr != NULL) *ptr = 0;
workspace_atoms = (Atom *) XtRealloc ((char *)workspace_atoms, workspace_atoms = (Atom *) XtRealloc ((char *)workspace_atoms,
sizeof (Atom) * (num_workspaces + 1)); sizeof (Atom) * (num_workspaces + 1));