ls: omit bad_cast
commit8a757c220bf73f9f9ab0c146c79dc2569d53b403
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Dec 2023 00:32:28 +0000 (28 16:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Jan 2024 03:49:26 +0000 (31 19:49 -0800)
treef255b0be9b7a08afff7e8bb695f472494efbe3f0
parent1f651f4b3daf85c3f76a01f105afa7dc079643a8
ls: omit bad_cast

* src/ls.c (decode_switches): Declare some local vars to be
char const *, not char *, and omit unnecessary bad_cast calls.
src/ls.c