Commit 71d43f48 authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

warning squash - cast away const

parent 7adde468
...@@ -425,7 +425,8 @@ static void codes_mapping_init(void) ...@@ -425,7 +425,8 @@ static void codes_mapping_init(void)
tw_error(TW_LOC, "could not find LP with type name \"%s\", " tw_error(TW_LOC, "could not find LP with type name \"%s\", "
"did you forget to register the LP?\n", lp_type_name); "did you forget to register the LP?\n", lp_type_name);
else else
tw_lp_settype(ross_lid, lptype); /* sorry, const... */
tw_lp_settype(ross_lid, (tw_lptype*) lptype);
} }
return; return;
} }
......
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