Branch: Tag:

2000-03-25

2000-03-25 23:34:32 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for Tru64

Rev: src/modules/Image/font.c:1.58

1: - /* $Id: font.c,v 1.57 1999/11/23 07:07:39 hubbe Exp $ */ + /* $Id: font.c,v 1.58 2000/03/25 23:34:32 hubbe Exp $ */   #include "global.h"      #define SPACE_CHAR 'i'
9:   /*   **! module Image   **! note - **! $Id: font.c,v 1.57 1999/11/23 07:07:39 hubbe Exp $ + **! $Id: font.c,v 1.58 2000/03/25 23:34:32 hubbe Exp $   **! class Font   **!   **! note
388: Inside #if defined(HAVE_MMAP)
   new_font->mem =    mmap(0,size,PROT_READ,MAP_SHARED,fd,0);   #ifdef MAP_FAILED -  if (new_font->mem==MAP_FAILED) +  if ((char *)new_font->mem == (char *)MAP_FAILED)   #else    if (new_font->mem==(void*)-1)   #endif