~mirabilos/klibc/master

Viewing all changes in revision 2114.

  • Committer: Ben Hutchings
  • Date: 2019-11-05 00:44:32 UTC
  • Revision ID: git-v1:8443e57e5ba71e462e31e3b5aad9f7dd1b4736f5
[klibc] losetup: Fix char signedness mismatches with <linux/loop.h>

For some reason the kernel's definition of struct loop_info64 defines
string fields as arrays of __u8 (unsigned char) instead of char.  Add
the necessary casts to avoid compiler warnings.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: