aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-15 23:50:15 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-15 23:50:15 +0000
commit9f485cd0a3bf357dce30076871f4a2578ddbdd3c (patch)
tree24e0a25df87ccebeda328c5122da2117645c7705 /include/asterisk
parent60b38751b2724648291b8c616c37a9417f762150 (diff)
If we're going to be passing a negative value for the size of a stringfield,
in order to indicate something, then using an UNSIGNED parameter is bad, mmmmmkay? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89312 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/stringfields.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/stringfields.h b/include/asterisk/stringfields.h
index 5fe0fc30f..f842601ca 100644
--- a/include/asterisk/stringfields.h
+++ b/include/asterisk/stringfields.h
@@ -230,7 +230,7 @@ void __ast_string_field_ptr_build_va(struct ast_string_field_mgr *mgr,
/*! \internal \brief internal version of ast_string_field_init */
int __ast_string_field_init(struct ast_string_field_mgr *mgr,
- struct ast_string_field_pool **pool_head, size_t needed);
+ struct ast_string_field_pool **pool_head, int needed);
/*!
\brief Set a field to a simple string value