cast: fix compilation with GCC's -Wcast-qual
Samba uses -Wcast-qual to warn about casting away const. The kind of coders who care about const correctness are likely to turn that option on, so we should make sure it's compatible with cast_const().
Showing
Please register or sign in to comment