Commit 01079aa38744b470ccb674ba12f10d066b949697
1 parent
5d80a5c3
Exists in
master
and in
3 other branches
Implementando conversão ebcdic<->ascii no objeto remoto
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
charset.c
... | ... | @@ -406,7 +406,7 @@ LIB3270_ACTION( charsettable ) |
406 | 406 | return 0; |
407 | 407 | } |
408 | 408 | |
409 | -LIB3270_EXPORT const char * lib3270_asc2ebc(H3270 *hSession, unsigned char *buffer, size_t sz) | |
409 | +LIB3270_EXPORT const char * lib3270_asc2ebc(H3270 *hSession, unsigned char *buffer, int sz) | |
410 | 410 | { |
411 | 411 | int f; |
412 | 412 | if(sz < 0) |
... | ... | @@ -421,7 +421,7 @@ LIB3270_EXPORT const char * lib3270_asc2ebc(H3270 *hSession, unsigned char *buff |
421 | 421 | return (const char *) buffer; |
422 | 422 | } |
423 | 423 | |
424 | -LIB3270_EXPORT const char * lib3270_ebc2asc(H3270 *hSession, unsigned char *buffer, size_t sz) | |
424 | +LIB3270_EXPORT const char * lib3270_ebc2asc(H3270 *hSession, unsigned char *buffer, int sz) | |
425 | 425 | { |
426 | 426 | int f; |
427 | 427 | if(sz < 0) | ... | ... |