diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2014-09-08 09:46:08 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2014-09-08 09:46:08 +0000 |
commit | f180cc819f0ae6312dde6270314f85723e90f280 (patch) | |
tree | ff4999bb455d858f970e798973ae44fcf319005f /src/mtx_qhull/list.c | |
parent | bc326b64aa62f4eed9cfc2ccd38acfd36b97b31c (diff) |
getting rid of compiler-warnings
svn path=/trunk/externals/iem/iemmatrix/; revision=17345
Diffstat (limited to 'src/mtx_qhull/list.c')
-rw-r--r-- | src/mtx_qhull/list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mtx_qhull/list.c b/src/mtx_qhull/list.c index 754516f..bc19c50 100644 --- a/src/mtx_qhull/list.c +++ b/src/mtx_qhull/list.c @@ -170,6 +170,7 @@ list_t getSubList(const list_t list, const list_t indices) { getEntry(list,entry_getIndex(&e1)) ); } + return new_list; } list_t getSubListFromTo(const list_t list, const index_t start, @@ -257,7 +258,7 @@ void removeValueListFromList(list_t *list, const list_t excl_list) { void reverseList(list_t * const list) { index_t i,j; entry_t v; - const cnt = getLength(*list)/ 2; + const size_t cnt = getLength(*list)/ 2; if (cnt>0) for (i=0, j=getLength(*list)-1; i<cnt; i++, j--) { v=getEntry(*list,i); @@ -330,7 +331,7 @@ int notInList(const entry_t entry, const list_t list) { void printList(list_t const list) { index_t i; const size_t len=getLength(list); - printf("[list]_%d=[",len); + printf("[list]_%d=[",(int)len); if (len>0) { print_entry(getEntry(list,0)); } |