summaryrefslogtreecommitdiffstats
path: root/src/guid_cmp.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-06 09:20:13 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-06 09:20:13 +0200
commit6fd8c08ff65214b26b97073e6fb197a44270017f (patch)
tree82463476c58c12dac9b420b4952f808ee00cf080 /src/guid_cmp.h
parent41e90d881a239e44415204fb8687f33f5dc1b7ae (diff)
EFI GPT: when changing the partition type, select by default the current type
Diffstat (limited to 'src/guid_cmp.h')
-rw-r--r--src/guid_cmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guid_cmp.h b/src/guid_cmp.h
index acf6631..14ccde8 100644
--- a/src/guid_cmp.h
+++ b/src/guid_cmp.h
@@ -2,7 +2,7 @@
File: guidcmp.c
- Copyright (C) 2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 2007-2008 Christophe GRENIER <grenier@cgsecurity.org>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-static inline int guid_cmp (efi_guid_t left, efi_guid_t right)
+static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right)
{
return memcmp(&left, &right, sizeof(efi_guid_t));
}