Skip to content
Snippets Groups Projects
Commit bc7e87b9 authored by Andrew Johnson's avatar Andrew Johnson
Browse files

RTEMS: Warning cleanups from Eric.

parent 81d155c9
No related branches found
No related tags found
Loading
......@@ -133,12 +133,13 @@ motScriptParm(const char *mot_script_boot, char parm)
int l;
while (*mot_script_boot != '\0') {
if (isspace(*mot_script_boot)
if (isspace(*(unsigned char *)mot_script_boot)
&& (*(mot_script_boot+1) == '-')
&& (*(mot_script_boot+2) == parm)) {
mot_script_boot += 3;
cp = mot_script_boot;
while ((*mot_script_boot != '\0') && !isspace(*mot_script_boot))
while ((*mot_script_boot != '\0') &&
!isspace(*(unsigned char *)mot_script_boot))
mot_script_boot++;
l = mot_script_boot - cp;
ret = malloc(l+1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment