Commit a0a3e4f7 authored by Kai Vehmanen's avatar Kai Vehmanen

Avoid compiler warning due to incorrect casting.

darcs-hash:20061218103325-7659e-66818d3a17af876ff17a1cafd061d144cee359a9.gz
parent a5ae816d
......@@ -204,7 +204,7 @@ int msg_list_append_items(su_home_t *home,
if (items == NULL) return 0;
for (i = 0; items[i]; i++) {
if (msg_header_add_param(home, (msg_header_t *)k, items[i]) < 0)
if (msg_header_add_param(home, (msg_common_t *)k, items[i]) < 0)
return -1;
}
......@@ -226,7 +226,7 @@ int msg_list_replace_items(su_home_t *home,
if (items == NULL) return 0;
for (i = 0; items[i]; i++) {
if (msg_header_replace_item(home, (msg_header_t *)k, items[i]) < 0)
if (msg_header_replace_item(home, (msg_common_t *)k, items[i]) < 0)
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment