Changeset 96b02eb9 in mainline for uspace/srv/hid/fb/ega.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/ega.c
r554debd r96b02eb9 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 … … 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.