summaryrefslogtreecommitdiffstats
path: root/runtime/tests/maps/is.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-05-18 00:17:55 +0000
committerhunt <hunt>2005-05-18 00:17:55 +0000
commit042803219fdd22aed9a134d46788ed01d29e1d7c (patch)
tree232e073c1d6a9681e7c2da40af213e5c7cc0d346 /runtime/tests/maps/is.c
parent4ed11cee2365c604b3c2a39a846706cc0ae0ac1a (diff)
downloadsystemtap-steved-042803219fdd22aed9a134d46788ed01d29e1d7c.tar.gz
systemtap-steved-042803219fdd22aed9a134d46788ed01d29e1d7c.tar.xz
systemtap-steved-042803219fdd22aed9a134d46788ed01d29e1d7c.zip
Add two new tests. Fix some warnings on i386.
Diffstat (limited to 'runtime/tests/maps/is.c')
-rw-r--r--runtime/tests/maps/is.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/tests/maps/is.c b/runtime/tests/maps/is.c
index 69a0b842..bfb21753 100644
--- a/runtime/tests/maps/is.c
+++ b/runtime/tests/maps/is.c
@@ -55,7 +55,7 @@ int main ()
/* check that unset values are 0 */
_stp_map_key_int64 (map, 5);
- printf ("map[%lld]=%lld\n", key1int(map->key), _stp_map_get_str(map));
+ printf ("map[%lld]=%ld\n", key1int(map->key), (long)_stp_map_get_str(map));
/* map[5] = "five" */
_stp_map_set (map, "five");