From 8161a0aff84fd0e1fd796e8c580e14b06dead820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 26 Oct 2007 22:14:52 +0000 Subject: [PATCH] Work around gcc issue: change (0x1fe-0x3a) to (0x1fe - 0x3a), to avoid missinterpretation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22742 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/partitioning_systems/atari/atari.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/add-ons/kernel/partitioning_systems/atari/atari.h b/src/add-ons/kernel/partitioning_systems/atari/atari.h index ef9aa56113..c4d23f22bb 100644 --- a/src/add-ons/kernel/partitioning_systems/atari/atari.h +++ b/src/add-ons/kernel/partitioning_systems/atari/atari.h @@ -83,11 +83,9 @@ struct atari_boot_block { uint16 num_sectors; uint32 load_addr; uint32 fat_buffer; -/*(0x003a-0x002e)*/ -#define ATARI_BB_FILENAME_SZ 0xc +#define ATARI_BB_FILENAME_SZ (0x003a - 0x002e) char filename[ATARI_BB_FILENAME_SZ]; -/*(0x01fe-0x003a)*/ -#define ATARI_BB_BOOTCODE_SZ 0x1c4 +#define ATARI_BB_BOOTCODE_SZ (0x01fe - 0x003a) uint8 bootcode[ATARI_BB_BOOTCODE_SZ]; uint16 checksum; /* 0x1234 if bootable */ };