diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 02:42:39 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 02:42:39 +0000 |
commit | 6cafdad8d539bbfbe2a516e46fe41549b8a6b68a (patch) | |
tree | 0ffd14523bd45197f366cb232d8f05f3d91f5c35 /apps/examples/nxflat/nxflat_main.c | |
parent | b9732fc877642a6cddde87f3440a6589675f10de (diff) | |
download | px4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.tar.gz px4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.tar.bz2 px4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.zip |
Rename elf.h to elf32.h; Additional ELF loader changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5263 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxflat/nxflat_main.c')
-rw-r--r-- | apps/examples/nxflat/nxflat_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxflat/nxflat_main.c b/apps/examples/nxflat/nxflat_main.c index 2c0030c60..638e960a0 100644 --- a/apps/examples/nxflat/nxflat_main.c +++ b/apps/examples/nxflat/nxflat_main.c @@ -167,7 +167,7 @@ int nxflat_main(int argc, char *argv[]) /* Create a ROM disk for the ROMFS filesystem */ message("Registering romdisk\n"); - ret = romdisk_register(0, romfs_img, NSECTORS(romfs_img_len), SECTORSIZE); + ret = romdisk_register(0, (FAR uint8_t *)romfs_img, NSECTORS(romfs_img_len), SECTORSIZE); if (ret < 0) { err("ERROR: romdisk_register failed: %d\n", ret); |