diff options
Diffstat (limited to 'perl-install/Newt')
-rw-r--r-- | perl-install/Newt/Makefile | 2 | ||||
-rw-r--r-- | perl-install/Newt/Newt.xs | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/Newt/Makefile b/perl-install/Newt/Makefile index 03bb3be91..b366e5974 100644 --- a/perl-install/Newt/Makefile +++ b/perl-install/Newt/Makefile @@ -2,7 +2,7 @@ Newt: %: %.xs test -e Makefile_c || perl Makefile.PL - $(MAKE) -f Makefile_c + $(MAKE) -f Makefile_c LD_RUN_PATH= rm -f ../auto/Newt ; ln -s ../Newt/blib/arch/auto/Newt ../auto clean: diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs index bd0040d9e..9423c85c0 100644 --- a/perl-install/Newt/Newt.xs +++ b/perl-install/Newt/Newt.xs @@ -180,15 +180,14 @@ newtButton(left,top,text) const char * text; Newt::Component -newtCheckbox(left,top,text,defValue,seq,result) +newtCheckbox(left,top,text,defValue,seq) int left; int top; const char * text; char *defValue; const char * seq; - int *result; CODE: - RETVAL = newtCheckbox(left, top, text, defValue[0], seq, (char*)result); + RETVAL = newtCheckbox(left, top, text, defValue[0], seq, NULL); OUTPUT: RETVAL |