projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4e027
)
dtwm: Coverity 88247
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:35:57 +0000
(20:35 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:35:57 +0000
(20:35 +0100)
cde/programs/dtwm/Callback.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtwm/Callback.c
b/cde/programs/dtwm/Callback.c
index 074d3e9efbcd614d529749ac4bce0957eb1b7903..05a4b39a6b626d9c86ea508311a114635412ce43 100644
(file)
--- a/
cde/programs/dtwm/Callback.c
+++ b/
cde/programs/dtwm/Callback.c
@@
-617,7
+617,7
@@
WorkspaceModifyCB (Widget w,
switch_data->buttons =
(Widget *) XtRealloc ((char *) switch_data->buttons,
- sizeof (Widget
*
) * switch_data->switch_count);
+ sizeof (Widget) * switch_data->switch_count);
SwitchButtonCreate (switch_data, True);