summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/cd9660/cd9660_node.c')
-rw-r--r--sys/fs/cd9660/cd9660_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c
index 699f0d9..90be9f3 100644
--- a/sys/fs/cd9660/cd9660_node.c
+++ b/sys/fs/cd9660/cd9660_node.c
@@ -241,7 +241,7 @@ cd9660_tstamp_conv7(pi,pu,ftype)
minute = pi[4];
second = pi[5];
if(ftype != ISO_FTYPE_HIGH_SIERRA)
- tz = pi[6];
+ tz = ((signed char *)pi)[6]; /* Timezone value is signed. */
else
/* original high sierra misses timezone data */
tz = 0;
OpenPOWER on IntegriCloud