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