*** pico/search.c.orig	Fri Mar 15 10:42:29 1996
--- pico/search.c	Tue Oct  6 12:43:49 1998
***************
*** 42,48 ****
  #include        "edef.h"
  
  #ifdef	ANSI
!     int eq(int, int);
      int expandp(char *, char *, int);
  #else
      int eq();
--- 42,48 ----
  #include        "edef.h"
  
  #ifdef	ANSI
!     int eq(unsigned char, unsigned char);
      int expandp(char *, char *, int);
  #else
      int eq();
***************
*** 95,109 ****
   * folded out. The "pc" is from the pattern.
   */
  eq(bc, pc)
! int bc;
! int pc;
  {
      if ((curwp->w_bufp->b_mode & MDEXACT) == 0){
! 	if (bc>='a' && bc<='z')
! 	  bc -= 0x20;
  
! 	if (pc>='a' && pc<='z')
! 	  pc -= 0x20;
      }
  
      return(bc == pc);
--- 95,109 ----
   * folded out. The "pc" is from the pattern.
   */
  eq(bc, pc)
! unsigned char bc;
! unsigned char pc;
  {
      if ((curwp->w_bufp->b_mode & MDEXACT) == 0){
! 	if (islower(bc))
! 	  bc = toupper(bc);
  
! 	if (islower(pc))
! 	  pc = toupper(pc);
      }
  
      return(bc == pc);
***************
*** 373,379 ****
  int maxlength;	/* maximum chars in destination */
  
  {
! 	char c;		/* current char to translate */
  
  	/* scan through the string */
  	while ((c = *srcstr++) != 0) {
--- 373,379 ----
  int maxlength;	/* maximum chars in destination */
  
  {
! 	unsigned char c;         /* current char to translate */
  
  	/* scan through the string */
  	while ((c = *srcstr++) != 0) {
