diff options
author | Michael Brown | 2017-05-16 17:58:01 +0200 |
---|---|---|
committer | Michael Brown | 2017-05-22 14:54:13 +0200 |
commit | ee9897fe641acab11ab99c5635a97fce0cb10a17 (patch) | |
tree | 4d06b2222781f4be1d12717197fc1c5147a181cb /src/core/settings.c | |
parent | [tls] Keep cipherstream window open until TLS negotiation is complete (diff) | |
download | ipxe-ee9897fe641acab11ab99c5635a97fce0cb10a17.tar.gz ipxe-ee9897fe641acab11ab99c5635a97fce0cb10a17.tar.xz ipxe-ee9897fe641acab11ab99c5635a97fce0cb10a17.zip |
[settings] Extend numerical setting tags to 64 bits
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/settings.c')
-rw-r--r-- | src/core/settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/settings.c b/src/core/settings.c index 87905722..3e5d416e 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -1478,9 +1478,9 @@ struct setting * find_setting ( const char *name ) { * @v name Name * @ret tag Tag number, or 0 if not a valid number */ -static unsigned long parse_setting_tag ( const char *name ) { +static uint64_t parse_setting_tag ( const char *name ) { char *tmp = ( ( char * ) name ); - unsigned long tag = 0; + uint64_t tag = 0; while ( 1 ) { tag = ( ( tag << 8 ) | strtoul ( tmp, &tmp, 0 ) ); |