Ignore:
Timestamp:
Apr 12, 2010, 5:29:25 AM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
2c0450cb
Parents:
a290e72a
Message:

2010-04-12 Chris Johns <chrisj@…>

libfs/src/rfs/rtems-rfs-buffer-bdbuf.c,
libfs/src/rfs/rtems-rfs-buffer.c, libfs/src/rfs/rtems-rfs-data.h,
libfs/src/rfs/rtems-rfs-dir.c,
libfs/src/rfs/rtems-rfs-file-system.c,
libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-inode.h,
libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h,
libfs/src/rfs/rtems-rfs-shell.c: Fix for PR1502. Clean up problems
on 16bit targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/rfs/rtems-rfs-inode.h

    ra290e72a r1d539c0  
    340340                             uint16_t uid, uint16_t gid)
    341341{
    342   rtems_rfs_write_u32 (&handle->node->owner, (gid << 16) | uid);
     342  rtems_rfs_write_u32 (&handle->node->owner, (((uint32_t) gid) << 16) | uid);
    343343  rtems_rfs_buffer_mark_dirty (&handle->buffer);
    344344}
Note: See TracChangeset for help on using the changeset viewer.