diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-03-15 02:57:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-03-15 02:57:16 +0000 |
commit | 02c7132ea4d6f598778d892bc6b5e7aae75c5f29 (patch) | |
tree | 918893b776b9da3d74a3bbae38730e5206f2cc28 /epan/ftypes/ftype-string.c | |
parent | 9ebac2bff6a3b945a6bdef67a9548fb648387888 (diff) |
Some more P64 fixes - they all assume we don't have truly gigantic
strings.
svn path=/trunk/; revision=27720
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r-- | epan/ftypes/ftype-string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c index 0e60bc2a2a..742400fe26 100644 --- a/epan/ftypes/ftype-string.c +++ b/epan/ftypes/ftype-string.c @@ -68,7 +68,7 @@ string_repr_len(fvalue_t *fv, ftrepr_t rtype) switch (rtype) { case FTREPR_DISPLAY: - return strlen(fv->value.string); + return (int)strlen(fv->value.string); case FTREPR_DFILTER: repr_len = 0; for (p = fv->value.string; (c = *p) != '\0'; p++) { @@ -182,7 +182,7 @@ val_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogFu static guint len(fvalue_t *fv) { - return strlen(fv->value.string); + return (guint)strlen(fv->value.string); } static void |