diff options
Diffstat (limited to 'plugins/Scriver/cmdlist.cpp')
-rw-r--r-- | plugins/Scriver/cmdlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/cmdlist.cpp b/plugins/Scriver/cmdlist.cpp index e6fffda347..8f8d5b1524 100644 --- a/plugins/Scriver/cmdlist.cpp +++ b/plugins/Scriver/cmdlist.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TCmdList *tcmdlist_append(TCmdList *list, const char *data, int maxSize, BOOL temporary) {
TCmdList *n;
- TCmdList *new_list = mir_alloc(sizeof(TCmdList));
+ TCmdList *new_list = (TCmdList *)mir_alloc(sizeof(TCmdList));
TCmdList *attach_to = NULL;
if (!data) {
@@ -74,7 +74,7 @@ TCmdList *tcmdlist_remove(TCmdList *list, TCmdList *n) { TCmdList *tcmdlist_append2(TCmdList *list, HANDLE hContact, const char *data) {
TCmdList *n;
- TCmdList *new_list = mir_alloc(sizeof(TCmdList));
+ TCmdList *new_list = (TCmdList *)mir_alloc(sizeof(TCmdList));
TCmdList *attach_to = NULL;
if (!data) {
|