diff options
author | hpa <hpa> | 2003-01-30 20:08:26 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-01-30 20:08:26 +0000 |
commit | c28b8aad72122a5eb94f9d7e00d6a07d8dd4f90f (patch) | |
tree | 8dd71a79a19cb6b8797ef6123500870a60b91650 /memdisk | |
parent | 38e4a2e1e8f2ecd095b2499399fcc303eea1a4f4 (diff) | |
download | syslinux-c28b8aad72122a5eb94f9d7e00d6a07d8dd4f90f.tar.gz |
Use __builtin_memcmp() instead of memcmp() to be explicit about
what we're doing...
Diffstat (limited to 'memdisk')
-rw-r--r-- | memdisk/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/setup.c b/memdisk/setup.c index 249d8479..05b4eefe 100644 --- a/memdisk/setup.c +++ b/memdisk/setup.c @@ -362,7 +362,7 @@ const struct geometry *get_disk_image_geometry(uint32_t where, uint32_t size) /* Do we have a DOSEMU header? */ copy_from_high(&dosemu, where+hd_geometry.offset, sizeof dosemu); - if ( !memcmp("DOSEMU", dosemu.magic, 7) ) { + if ( !__builtin_memcmp("DOSEMU", dosemu.magic, 7) ) { /* Always a hard disk unless overruled by command-line options */ hd_geometry.driveno = 0x80; hd_geometry.type = 0; |