aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/bootloaders.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-23 10:27:09 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-23 10:27:09 -0700
commit5ead2538bd63a816d592dcc29748e4d5dc4adc02 (patch)
tree6f07180634e2c9bf4c9be3520fa9de51f8fc1c47 /com32/gplinclude/disk/bootloaders.h
parentdebd96ee67daff43628e177368eba0f49c2fedee (diff)
downloadsyslinux-5ead2538bd63a816d592dcc29748e4d5dc4adc02.tar.gz
syslinux-5ead2538bd63a816d592dcc29748e4d5dc4adc02.tar.xz
syslinux-5ead2538bd63a816d592dcc29748e4d5dc4adc02.zip
gpllib: bootloader id should be uint16_t
The id is of the form 0xABCD: use uint16_t instead of int. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/disk/bootloaders.h')
-rw-r--r--com32/gplinclude/disk/bootloaders.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/com32/gplinclude/disk/bootloaders.h b/com32/gplinclude/disk/bootloaders.h
index 23f4b04f..f3c356d1 100644
--- a/com32/gplinclude/disk/bootloaders.h
+++ b/com32/gplinclude/disk/bootloaders.h
@@ -9,6 +9,9 @@
#ifndef __BOOTLOADERS_H_
#define __BOOTLOADERS_H_
-void get_bootloader_string(const int, void *, const int);
-int get_bootloader_id(const struct driveinfo *);
+
+#include <stdint.h>
+
+void get_bootloader_string(const uint16_t, void *, const int);
+uint16_t get_bootloader_id(const struct driveinfo *);
#endif /* _BOOTLOADERS_H_ */