Squelch some compiler warnings.

svn path=/trunk/; revision=32312
This commit is contained in:
Guy Harris 2010-03-27 18:24:05 +00:00
parent 1e784fc7fe
commit 985c8afc31
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ merge_open_in_files(int in_file_count, char *const *in_file_names,
merge_in_file_t *files;
gint64 size;
files = g_malloc(files_size);
files = (merge_in_file_t *)g_malloc(files_size);
*in_files = files;
for (i = 0; i < in_file_count; i++) {

View File

@ -315,7 +315,7 @@ ph_stats_new(void)
static gboolean
stat_node_free(GNode *node, gpointer data _U_)
{
ph_stats_node_t *stats = node->data;
ph_stats_node_t *stats = (ph_stats_node_t *)node->data;
if (stats) {
g_free(stats);