Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281567 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- madt/madt.c.orig
0
++ madt/madt.c
Lines 46-52 Link Here
46
{
46
{
47
	size_t retval;
47
	size_t retval;
48
48
49
	if (verbose) printf("reading %d byte entry header\n", sizeof(acpi_table_entry_header));
49
	if (verbose) printf("reading %ld byte entry header\n", sizeof(acpi_table_entry_header));
50
	retval = fread((void *)entry_header, sizeof(acpi_table_entry_header), 1, stdin);
50
	retval = fread((void *)entry_header, sizeof(acpi_table_entry_header), 1, stdin);
51
	return retval;
51
	return retval;
52
}
52
}
Lines 64-70 Link Here
64
64
65
	bytes_read = csum = 0;
65
	bytes_read = csum = 0;
66
66
67
	if (verbose) printf("reading %d madt header\n", sizeof(struct acpi_table_madt));
67
	if (verbose) printf("reading %ld madt header\n", sizeof(struct acpi_table_madt));
68
68
69
	retval = fread((void *)buffer, sizeof(struct acpi_table_madt), 1, stdin);
69
	retval = fread((void *)buffer, sizeof(struct acpi_table_madt), 1, stdin);
70
	if (retval != 1) {
70
	if (retval != 1) {

Return to bug 281567