Re: integral size mismatch in argument

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/12/98


On Mon, 12 Jan 1998, Jeff Almeida wrote:

>comm.c(403) : warning C4761: integral size mismatch in argument; conversion
>supplied
>act.wizard.c(2921) : warning C4047: '!=' : 'const char *' differs in levels
>of indirection from 'const int '
>act.wizard.c(2922) : warning C4090: 'function' : different 'const' qualifiers
>act.wizard.c(2922) : warning C4024: 'str_cmp' : different types for formal
>and actual parameter 2

My crystal ball is in the shop so I don't know what your code looks like
but I'd say you're comparing an integer with a char* in some cases.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST