From 80e439453d4c0f6e160745826c561dd99e2bd167 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Oct 2011 16:35:39 +1100 Subject: param: Use a bool to hold boolean parameters All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett --- script/mkparamdefs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/mkparamdefs.pl b/script/mkparamdefs.pl index eacdebd12a..b489cc9277 100644 --- a/script/mkparamdefs.pl +++ b/script/mkparamdefs.pl @@ -130,7 +130,7 @@ sub handle_loadparm($$$) return; } my %tmap = ( - "BOOL" => "int ", + "BOOL" => "bool ", "CONST_STRING" => "char *", "STRING" => "char *", "INTEGER" => "int ", -- cgit