mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* cpio.c (cpio_read_bin_head): Replaced GUINT16_SWAP_LE_BE with
GUINT16_SWAP_LE_BE_CONSTANT, because GCC-3.3 emitted a warning about __asm__ __const__.
This commit is contained in:
parent
ff7a776535
commit
60465dace3
@ -1,3 +1,9 @@
|
||||
2004-09-23 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* cpio.c (cpio_read_bin_head): Replaced GUINT16_SWAP_LE_BE with
|
||||
GUINT16_SWAP_LE_BE_CONSTANT, because GCC-3.3 emitted a warning about
|
||||
__asm__ __const__.
|
||||
|
||||
2004-09-22 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* direntry.c (vfs_s_new_entry): see 2004-09-19. Additionally followed the advice
|
||||
|
@ -267,7 +267,7 @@ static int cpio_read_bin_head(struct vfs_class *me, struct vfs_s_super *super)
|
||||
if(super->u.arch.type == CPIO_BINRE) {
|
||||
int i;
|
||||
for(i = 0; i < (HEAD_LENGTH >> 1); i++)
|
||||
u.shorts[i] = GUINT16_SWAP_LE_BE(u.shorts[i]);
|
||||
u.shorts[i] = GUINT16_SWAP_LE_BE_CONSTANT(u.shorts[i]);
|
||||
}
|
||||
g_assert(u.buf.c_magic == 070707);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user