summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-map-len.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-06 20:06:29 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-06 20:06:29 +0000
commit670062dbabd0825f03f6e9ad01881968c40b7356 (patch)
treea04353390cbd4dbceb299c20d4a3c6ae273157b8 /libgo/runtime/go-map-len.c
parent69777e5df0f78b42768fb6053aa1ebbc3661c210 (diff)
downloadgcc-670062dbabd0825f03f6e9ad01881968c40b7356.tar.gz
More uses of backend interface for types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/go-map-len.c')
-rw-r--r--libgo/runtime/go-map-len.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-map-len.c b/libgo/runtime/go-map-len.c
index 01df5b41c6c..a8922b9f007 100644
--- a/libgo/runtime/go-map-len.c
+++ b/libgo/runtime/go-map-len.c
@@ -18,6 +18,6 @@ __go_map_len (struct __go_map *map)
{
if (map == NULL)
return 0;
- __go_assert (map->__element_count == (size_t) (int) map->__element_count);
+ __go_assert (map->__element_count == (uintptr_t) (int) map->__element_count);
return map->__element_count;
}