Getting following warning while compiling
Posted
by thetna
on Stack Overflow
See other posts from Stack Overflow
or by thetna
Published on 2010-03-25T16:27:22Z
Indexed on
2010/03/25
16:33 UTC
Read the original article
Hit count: 265
gcc
|compiler-warnings
warning: passing argument 1 of 'bsearch' makes pointer from integer without a cast
and the corresponding code is
Parent =bsearch((const size_t)ParentNum, ClauseVector, Size,
sizeof(CLAUSE),pcheck_CompareNumberAndClause);
the compilar is gcc.
here CLAUSE is defined as *CLAUSE.
© Stack Overflow or respective owner