Changes in uspace/srv/hid/fb/ega.c [369a5f8:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/ega.c
r369a5f8 r228e490 230 230 static int save_screen(void) 231 231 { 232 ipcarg_t i;232 sysarg_t i; 233 233 234 234 /* Find empty screen */ … … 245 245 } 246 246 247 static int print_screen( ipcarg_t i)247 static int print_screen(sysarg_t i) 248 248 { 249 249 if ((i >= MAX_SAVED_SCREENS) || (saved_screens[i].data)) … … 276 276 wchar_t c; 277 277 278 ipcarg_t col;279 ipcarg_t row;280 ipcarg_t w;281 ipcarg_t h;278 sysarg_t col; 279 sysarg_t row; 280 sysarg_t w; 281 sysarg_t h; 282 282 283 283 ssize_t rows; … … 290 290 uint32_t bg_rgb; 291 291 292 ipcarg_t scr;292 sysarg_t scr; 293 293 int retval; 294 294 295 switch (IPC_GET_ METHOD(call)) {295 switch (IPC_GET_IMETHOD(call)) { 296 296 case IPC_M_PHONE_HUNGUP: 297 297 client_connected = 0; … … 370 370 371 371 if (rows >= 0) { 372 if (( ipcarg_t) rows > scr_height) {372 if ((sysarg_t) rows > scr_height) { 373 373 retval = EINVAL; 374 374 break; 375 375 } 376 376 } else { 377 if (( ipcarg_t) (-rows) > scr_height) {377 if ((sysarg_t) (-rows) > scr_height) { 378 378 retval = EINVAL; 379 379 break;
Note:
See TracChangeset
for help on using the changeset viewer.