Various small consistency fixes (trivial):
[coreboot.git] / payloads / libpayload / i386 / coreboot.c
index 8e4a19a5eedeeccaed84e71dd456f9053398a339..e9bc40fc414e03779f01a32db198972b977f640b 100644 (file)
@@ -95,10 +95,10 @@ static int cb_parse_header(void *addr, int len, struct sysinfo_t *info)
                return 0;
 
        /* Make sure the checksums match. */
-       if (ipchksum((uint16_t *) header, sizeof(*header)) != 0)
+       if (ipchksum((u16 *) header, sizeof(*header)) != 0)
                return -1;
 
-       if (ipchksum((uint16_t *) (ptr + sizeof(*header)),
+       if (ipchksum((u16 *) (ptr + sizeof(*header)),
                     header->table_bytes) != header->table_checksum)
                return -1;