diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-21 09:39:33 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-21 09:39:33 -0700 |
commit | 4937b98981923c599786f5007ab0580ad08e1909 (patch) | |
tree | 3c15194c73107bdc5f834ab2782c040bfd38f5d5 /src/bios_reader | |
parent | 08326827fdb8abecbff20c7b051537dbad433c40 (diff) |
Fix compiler warnings in VBIOS utils
Diffstat (limited to 'src/bios_reader')
-rw-r--r-- | src/bios_reader/bios_reader.c | 2 | ||||
-rw-r--r-- | src/bios_reader/swf_dumper.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c index ba773cc4..9e053170 100644 --- a/src/bios_reader/bios_reader.c +++ b/src/bios_reader/bios_reader.c @@ -284,7 +284,7 @@ int main(int argc, char **argv) dump_general_features(find_section(bdb, BDB_GENERAL_FEATURES)); dump_general_definitions(find_section(bdb, BDB_GENERAL_DEFINITIONS)); dump_lvds_options(find_section(bdb, BDB_LVDS_OPTIONS)); - dump_lvds_data(find_section(bdb, BDB_LVDS_LFP_DATA), bdb); + dump_lvds_data(find_section(bdb, BDB_LVDS_LFP_DATA), (unsigned char *)bdb); return 0; } diff --git a/src/bios_reader/swf_dumper.c b/src/bios_reader/swf_dumper.c index 5d486347..a6cf0468 100644 --- a/src/bios_reader/swf_dumper.c +++ b/src/bios_reader/swf_dumper.c @@ -51,11 +51,13 @@ static uint32_t read32(void *base, int reg) return *addr; } +#if 0 static void write32(void *base, int reg, uint32_t val) { uint32_t *addr = (uint32_t *)((unsigned char *)(base) + reg); *addr = val; } +#endif static void usage(void) { |