ia64/xen-unstable

changeset 16246:fd09283562e2

hvm: Clean up firmware compilation warnings.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
author Keir Fraser <keir@xensource.com>
date Fri Oct 26 09:58:43 2007 +0100 (2007-10-26)
parents b5a2cbca3930
children 2d238ca6d51a
files tools/firmware/hvmloader/acpi/build.c tools/firmware/rombios/32bit/tcgbios/tcgbios.c
line diff
     1.1 --- a/tools/firmware/hvmloader/acpi/build.c	Fri Oct 26 09:56:54 2007 +0100
     1.2 +++ b/tools/firmware/hvmloader/acpi/build.c	Fri Oct 26 09:58:43 2007 +0100
     1.3 @@ -226,7 +226,7 @@ static int construct_processor_objects(u
     1.4      }
     1.5  
     1.6      /* NameString */
     1.7 -    strncpy(p, pr_scope, strlen(pr_scope));
     1.8 +    strncpy((char *)p, pr_scope, strlen(pr_scope));
     1.9      p += strlen(pr_scope);
    1.10  
    1.11      /*
     2.1 --- a/tools/firmware/rombios/32bit/tcgbios/tcgbios.c	Fri Oct 26 09:56:54 2007 +0100
     2.2 +++ b/tools/firmware/rombios/32bit/tcgbios/tcgbios.c	Fri Oct 26 09:58:43 2007 +0100
     2.3 @@ -591,7 +591,7 @@ void tcpa_add_measurement(uint32_t pcrIn
     2.4  	case EV_SEPARATOR:
     2.5  		tcpa_add_measurement_to_log_simple(pcrIndex,
     2.6  		                            event_type,
     2.7 -		                            evt_separator,
     2.8 +		                            (uint8_t *)evt_separator,
     2.9  		                            4);
    2.10  	break;
    2.11  	case EV_ACTION: