mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Not to be confused with the libxml2 macro 'BAD_CAST' which converts from 'signed char *' to 'unsigned char *'. The 'bad_cast' function was defined and used all over the place as a replacement for a '(char *)' cast. I think it is better to make these casts explicit, instead of hiding them in an obscure function.