Commit fad0a86a authored by Michael Beck's avatar Michael Beck
Browse files

Let PTR_TO_INT return ptrdiff_t now instead of int.

[r28255]
parent fc80e89b
/*
* Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
* Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
......@@ -59,7 +59,7 @@ lc_opt_entry_t *firm_opt_get_root(void);
/**
* convert a pointer into an integer
*/
#define PTR_TO_INT(v) ((int)((char *)(v) - (char *)0))
#define PTR_TO_INT(v) (((char *)(v) - (char *)0))
/**
* Dump a pset containing Firm objects.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment