diff options
| author | martin <martin@NetBSD.org> | 2006-10-18 14:49:21 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2006-10-18 14:49:21 +0000 |
| commit | ec465210f293c85d6e4289dfec5d64ef052ded7d (patch) | |
| tree | 1f63aaff4b77fd437e33d6081b2357f0813af6f0 /common/lib/libprop/prop_string.c | |
| parent | b6f68b374003848ae44983cdc1eabf7037380d19 (diff) | |
Sprinkle a few size_t casts to avoid conversion warnings.
Diffstat (limited to 'common/lib/libprop/prop_string.c')
| -rw-r--r-- | common/lib/libprop/prop_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lib/libprop/prop_string.c b/common/lib/libprop/prop_string.c index ded7a5925db..3f170d25e7f 100644 --- a/common/lib/libprop/prop_string.c +++ b/common/lib/libprop/prop_string.c @@ -1,4 +1,4 @@ -/* $NetBSD: prop_string.c,v 1.4 2006/08/22 21:21:23 thorpej Exp $ */ +/* $NetBSD: prop_string.c,v 1.5 2006/10/18 14:49:21 martin Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -428,7 +428,7 @@ _prop_string_internalize(struct _prop_object_internalize_context *ctx) return (NULL); /* Compute the length of the result. */ - if (_prop_object_internalize_decode_string(ctx, NULL, 0, &len, + if (_prop_object_internalize_decode_string(ctx, NULL, (size_t)0, &len, NULL) == FALSE) return (NULL); |
