Package: pexts Version: 0.1.1-8 Severity: normal Tags: patch When building 'pexts' on amd64/unstable with gcc-4.0, I get the following error:
functions.c:1645: error: invalid lvalue in assignment functions.c:1651: warning: cast from pointer to integer of different size functions.c: In function 'f_listboxSelectItem': functions.c:1709: warning: cast to pointer from integer of different size functions.c: In function 'f_checkboxTreeGetSelection': functions.c:1838: error: invalid lvalue in assignment functions.c:1844: warning: cast from pointer to integer of different size functions.c: In function 'f_checkboxTreeGetCurrent': functions.c:1867: warning: cast to pointer from integer of different size functions.c:1867: error: invalid lvalue in assignment With the attached patch 'pexts' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/pexts-0.1.1/src/_Newt/functions.c ./src/_Newt/functions.c --- ../tmp-orig/pexts-0.1.1/src/_Newt/functions.c 2003-05-25 00:37:50.000000000 +0200 +++ ./src/_Newt/functions.c 2005-04-09 19:37:11.765559048 +0200 @@ -1642,7 +1642,7 @@ func_prolog("listboxGetSelection", ids, caller, NULL, 0); - (void**)items = newtListboxGetSelection(THIS_OBJ(caller)->u.component, &numitems); + items = newtListboxGetSelection(THIS_OBJ(caller)->u.component, &numitems); pop_n_elems(args); @@ -1835,7 +1835,7 @@ func_prolog("checkboxTreeGetSelection", ids, caller, NULL, 0); - (void**)items = newtCheckboxTreeGetSelection(THIS_OBJ(caller)->u.component, &numitems); + items = newtCheckboxTreeGetSelection(THIS_OBJ(caller)->u.component, &numitems); pop_n_elems(args); @@ -1864,7 +1864,7 @@ func_prolog("checkboxTreeGetCurrent", ids, caller, NULL, 0); - (void*)ret = newtCheckboxTreeGetCurrent(THIS_OBJ(caller)->u.component); + ret = newtCheckboxTreeGetCurrent(THIS_OBJ(caller)->u.component); pop_n_elems(args); @@ -1906,7 +1906,7 @@ pop_n_elems(args); - (void**)items = newtCheckboxTreeGetMultiSelection(THIS_OBJ(caller)->u.component, &numitems, seqnum); + items = newtCheckboxTreeGetMultiSelection(THIS_OBJ(caller)->u.component, &numitems, seqnum); /* Use numitems, as item can also be NULL... */ for(i = 0; i < numitems; i++) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]