------------------------------------------------------------ revno: 5353 committer: Diego Biurrun <diego@xxxxxxxxxx> branch nick: hipl timestamp: Tue 2011-01-04 13:15:20 +0100 message: Do not redundantly cast variable to its own type. modified: lib/core/builder.c -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'lib/core/builder.c' --- lib/core/builder.c 2011-01-04 12:11:37 +0000 +++ lib/core/builder.c 2011-01-04 12:15:20 +0000 @@ -1591,7 +1591,7 @@ { struct hip_tlv_common param; hip_set_param_type(¶m, param_type); - hip_set_param_contents_len((struct hip_tlv_common *) ¶m, contents_size); + hip_set_param_contents_len(¶m, contents_size); return hip_build_generic_param(msg, ¶m, sizeof(struct hip_tlv_common),