Fix code to allow usage of -Wall in libpayload and the sample (trivial).

This even fixes two bugs:

 - get_cpu_speed() didn't return a value.

 - The line
     win->_color - PAIR_NUMBER(0);
   should actually be
     win->_color = PAIR_NUMBER(0);

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
10 files changed
tree: a3e4a54ab6796cc60b045a8f03bf23ff5a000d7e
  1. documentation/
  2. payloads/
  3. src/
  4. targets/
  5. util/
  6. COPYING
  7. NEWS
  8. README