Add -Werror to help us keep the code clean.
Change sizes from unsigned int to int. Clean up some usage and parameter checking. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4262 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -32,7 +32,8 @@ void resize_usage(void)
|
||||
|
||||
int resize_handler(struct rom *rom, int argc, char **argv)
|
||||
{
|
||||
unsigned int size, align, offset;
|
||||
unsigned int align, offset;
|
||||
int size;
|
||||
char null = '\0';
|
||||
int bootblocksize = ntohl(rom->header->bootblocksize);
|
||||
|
||||
|
Reference in New Issue
Block a user