Commit 3d7a468acb0dddf075f1558c08381735f8faeab8
1 parent
2d9339ca
Exists in
master
and in
1 other branch
Cursor Address argument should be signed.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
client/src/include/lib3270/ipc.h
@@ -716,7 +716,7 @@ | @@ -716,7 +716,7 @@ | ||
716 | } | 716 | } |
717 | 717 | ||
718 | /// @brief Set cursor address. | 718 | /// @brief Set cursor address. |
719 | - inline Host & setCursor(unsigned short addr) { | 719 | + inline Host & setCursor(int addr = -1) { |
720 | session->setCursor(addr); | 720 | session->setCursor(addr); |
721 | return *this; | 721 | return *this; |
722 | } | 722 | } |