Mercurial > ecos
diff packages/redboot/current/src/load.c @ 1756:b2a8f9509f6f
* src/load.c (do_load): Removed compiler warning when building
reboot without networking.
| author | asl |
|---|---|
| date | Sun, 19 Sep 2004 13:01:54 +0000 |
| parents | 549e69d9a7d0 |
| children | 5841ca1d8824 |
line wrap: on
line diff
--- a/packages/redboot/current/src/load.c +++ b/packages/redboot/current/src/load.c @@ -600,6 +600,8 @@ do_load(int argc, char *argv[]) #ifdef CYGPKG_REDBOOT_NETWORKING struct sockaddr_in host; bool hostname_set, port_set; + unsigned int port; // int because it's an OPTION_ARG_TYPE_NUM, + // but will be cast to short char *hostname; #endif bool decompress = false; @@ -615,7 +617,6 @@ do_load(int argc, char *argv[]) connection_info_t info; getc_io_funcs_t *io = NULL; struct load_io_entry *io_tab; - unsigned int port; //int because it's an OPTION_ARG_TYPE_NUM, but will be cast to short #ifdef CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS bool spillover_ok = false; #endif
