Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for Mantis 858: subtract_pointers() isn't 64-bit on OSX-64

  • Loading branch information...
commit 265d8e31d774c82e02b9e02070b0d2c0c210d2fd 1 parent 4e4fefb
@DavidKinder authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 header.h
View
4 header.h
@@ -624,11 +624,7 @@ static int32 unique_task_id(void)
void hfree(void *);
#define subtract_pointers(p1,p2) (long)((char _huge *)p1-(char _huge *)p2)
#else
-#ifdef UNIX64
#define subtract_pointers(p1,p2) (((char *) p1)-((char *) p2))
-#else
-#define subtract_pointers(p1,p2) (((int32) p1)-((int32) p2))
-#endif
#endif
/* ------------------------------------------------------------------------- */
Please sign in to comment.
Something went wrong with that request. Please try again.