Commit 42eabc38ea145997eeb443cb01edad018da7c97d
1 parent
ad28d950
Exists in
master
and in
3 other branches
Ajustes para eliminar warnings que apareceram na atualização do gcc para windows.
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
ctlr.c
... | ... | @@ -437,7 +437,7 @@ LIB3270_EXPORT int lib3270_get_field_start(H3270 *hSession, int baddr) |
437 | 437 | return -1; |
438 | 438 | |
439 | 439 | if(baddr < 0) |
440 | - baddr = hSession->cursor_addr; | |
440 | + baddr = hSession->cursor_addr; | |
441 | 441 | |
442 | 442 | sbaddr = baddr; |
443 | 443 | do |
... | ... | @@ -462,8 +462,8 @@ LIB3270_EXPORT int lib3270_get_field_len(H3270 *hSession, int baddr) |
462 | 462 | if (!hSession->formatted) |
463 | 463 | return -1; |
464 | 464 | |
465 | - if(baddr < 0) | |
466 | - baddr = hSession->cursor_addr; | |
465 | + if(baddr < 0) | |
466 | + baddr = hSession->cursor_addr; | |
467 | 467 | |
468 | 468 | addr = find_field_attribute(hSession,baddr); |
469 | 469 | |
... | ... | @@ -569,8 +569,8 @@ LIB3270_EXPORT int lib3270_get_next_unprotected(H3270 *hSession, int baddr0) |
569 | 569 | |
570 | 570 | CHECK_SESSION_HANDLE(hSession); |
571 | 571 | |
572 | - if(baddr0 < 0) | |
573 | - baddr0 = hSession->cursor_addr; | |
572 | + if(baddr0 < 0) | |
573 | + baddr0 = hSession->cursor_addr; | |
574 | 574 | |
575 | 575 | nbaddr = baddr0; |
576 | 576 | do |
... | ... | @@ -594,7 +594,7 @@ LIB3270_EXPORT int lib3270_get_is_protected(H3270 *hSession, int baddr) |
594 | 594 | CHECK_SESSION_HANDLE(hSession); |
595 | 595 | |
596 | 596 | if(baddr < 0) |
597 | - baddr = hSession->cursor_addr; | |
597 | + baddr = hSession->cursor_addr; | |
598 | 598 | |
599 | 599 | int faddr = find_field_attribute(hSession,baddr); |
600 | 600 | ... | ... |