Changeset 1102


Ignore:
Timestamp:
Feb 6, 2007, 12:49:19 AM (13 years ago)
Author:
bruno
Message:

Other compiler warnings removed

Location:
branches/stable/mondo/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-tools-EXT.h

    r1101 r1102  
    22
    33#ifndef LIBMONDO_TOOLS_EXT_H
    4 # define LIBMONDO_TOOLS_EXT_H
     4#define LIBMONDO_TOOLS_EXT_H
    55
    66extern void clean_up_KDE_desktop_if_necessary(void);
  • branches/stable/mondo/src/mondoarchive/main.c

    r1100 r1102  
    2323
    2424#include "mr_str.h"
     25#include "mr_file.h"
    2526
    2627// for CVS
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1087 r1102  
    485485    malloc_string(these_failed);
    486486    assert(p_external_copy_of_mountlist != NULL);
    487     mountlist = mr_malloc(sizeof(struct mountlist_itself));
     487    mountlist = (struct mountlist_itself *)mr_malloc(sizeof(struct mountlist_itself));
    488488    memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist,
    489489           sizeof(struct mountlist_itself));
     
    20942094    assert(p_external_copy_of_mountlist != NULL);
    20952095
    2096     mountlist = mr_malloc(sizeof(struct mountlist_itself));
     2096    mountlist = (struct mountlist_itself *)mr_malloc(sizeof(struct mountlist_itself));
    20972097    memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist,
    20982098           sizeof(struct mountlist_itself));
     
    25212521
    25222522    malloc_string(screen_message);
    2523     raidlist = mr_malloc(sizeof(struct raidlist_itself));
     2523    raidlist = (struct raidlist_itself *)mr_malloc(sizeof(struct raidlist_itself));
    25242524
    25252525    assert(wait_for_percentage <= 100);
Note: See TracChangeset for help on using the changeset viewer.