# HG changeset patch # User reynaldo # Date 1153013082 0 # Node ID 6e840952870d822b155feb542878b1729d5f2c47 # Parent 5e767cabf4cd585cba1ce60ee45f6417f6282149 Removes an unneeded cast. Patch by Stefan Huehner, stefan AT.. huehner.org diff -r 5e767cabf4cd -r 6e840952870d libaf/format.c --- a/libaf/format.c Sun Jul 16 01:20:30 2006 +0000 +++ b/libaf/format.c Sun Jul 16 01:24:42 2006 +0000 @@ -184,7 +184,7 @@ for (i = 0; af_fmtstr_table[i].name; i++) if (af_fmtstr_table[i].format == format) - return (char*)(af_fmtstr_table[i].name); + return af_fmtstr_table[i].name; return "??"; }