Changeset: 6eaf646a7188 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6eaf646a7188
Modified Files:
gdk/gdk_atoms.c
Branch: Feb2013
Log Message:
Add a cast.
diffs (12 lines):
diff --git a/gdk/gdk_atoms.c b/gdk/gdk_atoms.c
--- a/gdk/gdk_atoms.c
+++ b/gdk/gdk_atoms.c
@@ -1116,7 +1116,7 @@ strCleanHash(Heap *h, int rebuild)
GDK_STRHASH(s, strhash);
off = strhash & GDK_STRHASHMASK;
bucket = ((stridx_t *) h->base) + off;
- *bucket = pos - extralen - sizeof(stridx_t);
+ *bucket = (stridx_t) (pos - extralen -
sizeof(stridx_t));
pos += GDK_STRLEN(s);
}
#ifndef NDEBUG
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list