Commit 0643708388568babf77e7de713bb94d3b5132f20

Authored by perry.werneck@gmail.com
1 parent 15bf2260
Exists in master and in 1 other branch develop

Ajustes para executar em macosx

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
widget.c
... ... @@ -721,7 +721,7 @@ static void changed(H3270 *session, int offset, int len)
721 721 &bytes_written,
722 722 &error );
723 723  
724   - free(text);
  724 + lib3270_free(text);
725 725  
726 726 if(error)
727 727 {
... ... @@ -784,7 +784,7 @@ static void v3270_init(v3270 *widget)
784 784 {
785 785 widget->host = lib3270_session_new("");
786 786  
787   - trace("%s host->sz=%d expected=%d revision=%s expected=%s",__FUNCTION__,widget->host->sz,sizeof(H3270),lib3270_get_revision(),PACKAGE_REVISION);
  787 + trace("%s host->sz=%d expected=%d revision=%s expected=%s",__FUNCTION__,widget->host->sz,(int) sizeof(H3270),lib3270_get_revision(),PACKAGE_REVISION);
788 788  
789 789 if(widget->host->sz != sizeof(H3270))
790 790 {
... ...