diff options
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_format.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c index d2ec19b267..6c331527a0 100644 --- a/cpukit/libfs/src/dosfs/msdos_format.c +++ b/cpukit/libfs/src/dosfs/msdos_format.c @@ -648,7 +648,7 @@ static int msdos_format_determine_fmt_params for (cnt = 0; cnt < (sizeof(fmt_params->OEMName)-1); cnt++) { - if (isprint((int)*from)) { + if (isprint((unsigned char)*from)) { *to++ = *from++; } else { @@ -679,7 +679,7 @@ static int msdos_format_determine_fmt_params for (cnt = 0; cnt < (sizeof(fmt_params->VolLabel)-1); cnt++) { - if (isprint((int)*from)) { + if (isprint((unsigned char)*from)) { *to++ = *from++; } else { |