diff options
Diffstat (limited to 'src/gram.y')
-rw-r--r-- | src/gram.y | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -159,7 +159,7 @@ stmt : error | ZOOM number { if (Scr->FirstTime) { Scr->DoZoom = TRUE; - Scr->ZoomCount = $2; + Scr->ZoomCount = (short)$2; } } | ZOOM { if (Scr->FirstTime) @@ -716,7 +716,7 @@ RemoveDQuote(char *str) n = (n<<3) + (*i++ - '0'); count++; } - *o = n; + *o = (char)n; break; hex: case 'x': @@ -733,7 +733,7 @@ RemoveDQuote(char *str) else break; } - *o = n; + *o = (char)n; break; case '\n': i++; /* punt */ @@ -769,7 +769,7 @@ static MenuRoot *GetRoot(const char *name, const char* fore, const char *back) Scr->FirstTime = TRUE; GetColor(COLOR, &tmp->hi_fore, fore); GetColor(COLOR, &tmp->hi_back, back); - Scr->FirstTime = save; + Scr->FirstTime = (short)save; } return tmp; @@ -800,7 +800,7 @@ static void GotButton(int butt, int func) Action = ""; pull = NULL; cont = 0; - mods_used |= mods; + mods_used |= (unsigned)mods; mods = 0; } @@ -819,7 +819,7 @@ static void GotKey(char *key, int func) Action = ""; pull = NULL; cont = 0; - mods_used |= mods; + mods_used |= (unsigned)mods; mods = 0; } |