Changeset 6d8720c4 in rtems


Ignore:
Timestamp:
May 10, 2009, 2:55:43 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
7a9030a0
Parents:
072d2a09
Message:

2009-05-10 Joel Sherrill <joel.sherrill@…>

  • libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c, rtems/include/rtems/rtems/timer.h: Fix warnings.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r072d2a09 r6d8720c4  
     12009-05-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c,
     4        rtems/include/rtems/rtems/timer.h: Fix warnings.
     5
    162009-05-08      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/libmisc/shell/login_prompt.c

    r072d2a09 r6d8720c4  
    168168    struct termios termios_new = termios_previous;
    169169
    170     termios_new.c_lflag &= ~ECHO;
    171     termios_new.c_lflag &= ~ICANON;
     170    termios_new.c_lflag &= (unsigned char) ~ECHO;
     171    termios_new.c_lflag &= (unsigned char) ~ICANON;
    172172    termios_new.c_cc [VTIME] = 255;
    173173    termios_new.c_cc [VMIN] = 0;
  • cpukit/libmisc/shell/shell_script.c

    r072d2a09 r6d8720c4  
    55 *  by Joel Sherrill.
    66 *
    7  *  COPYRIGHT (c) 1989-2008.
     7 *  COPYRIGHT (c) 1989-2009.
    88 *  On-Line Applications Research Corporation (OAR).
    99 *
     
    101101  int    argc,
    102102  char **argv
     103);
     104
     105int rtems_shell_main_joel(
     106  int    argc,
     107  char **argv
    103108)
    104109{
     
    121126        break;
    122127      case 'p':
    123         taskPriority = rtems_shell_str2int(getopt_reent.optarg);
     128        taskPriority =
     129          (rtems_task_priority) rtems_shell_str2int(getopt_reent.optarg);
    124130        break;
    125131      case 's':
    126         stackSize = rtems_shell_str2int(getopt_reent.optarg);
     132        stackSize = (uint32_t) rtems_shell_str2int(getopt_reent.optarg);
    127133        break;
    128134      case 't':
  • cpukit/rtems/include/rtems/rtems/timer.h

    r072d2a09 r6d8720c4  
    2323 */
    2424
    25 /*  COPYRIGHT (c) 1989-2008.
     25/*  COPYRIGHT (c) 1989-2009.
    2626 *  On-Line Applications Research Corporation (OAR).
    2727 *
     
    290290 *  via the Classic API is used.
    291291 */
    292 #define RTEMS_TIMER_SERVER_DEFAULT_PRIORITY -1
     292#define RTEMS_TIMER_SERVER_DEFAULT_PRIORITY (uint32_t) -1
    293293
    294294/**
Note: See TracChangeset for help on using the changeset viewer.