Commit 1196af04 authored by Jean Bréfort's avatar Jean Bréfort Committed by Jean Bréfort

use G_POINTER_TO_UINT instead of a cast (fixes a warning for 64 bits

2006-05-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/expr.c: (ets_hash): use G_POINTER_TO_UINT instead of a cast
	(fixes a warning for 64 bits processors).
parent 4e16d0ca
......@@ -2512,7 +2512,7 @@ ets_hash (gconstpointer key)
case GNM_EXPR_OP_NAME:
/* all we need is a somewhat unique hash, ignore int != ptr */
return (guint)(expr->name.name);
return GPOINTER_TO_UINT (expr->name.name);
case GNM_EXPR_OP_CELLREF:
return gnm_cellref_hash (&expr->cellref.ref);
......
Markdown is supported
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