Mobprog warnings ..

From: DJ Pure (pure@ozramp.net.au)
Date: 01/03/97


G'day all.
	Has anyone gotten this? Does anyone know how to fix it?

Compiling...
mobprog.c
C:\Mud Stuff\Circle Mud\src\mobprog.c(1506) : warning C4018: '<' :
signed/unsigned mismatch
C:\Mud Stuff\Circle Mud\src\mobprog.c(1510) : warning C4018: '<' :
signed/unsigned mismatch
Linking...
circle.exe - 0 error(s), 2 warning(s)

and these two lines are  ...

  for (mprg = mob_index[mob->nr].mobprogs; mprg != NULL; mprg = mprg->next)
    if (mprg->type & type)
      {
	strcpy(temp1, mprg->arglist);
	list = temp1;
        while(isspace(*list)) list++;
	for (i = 0; i < strlen(list); i++) /****** line 1506 ******/ 
	  list[i] = LOWER(list[i]);
	strcpy(temp2, arg);
	dupl = temp2;
	for (i = 0; i < strlen(dupl); i++)  /****** line 1510 ******/
	  dupl[i] = LOWER(dupl[i]);
	if ((list[0] == 'p') && (list[1] == ' '))
	  {
	    list += 2;
	// etc..

thanks for any help in advance ... 

jussy.
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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