summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-03-24 22:55:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-03-24 22:55:22 +0000
commitcbb7b7349766fcbb3096f6916bc908b622fb6510 (patch)
treeb74c99a85d84b47971225138b223cb0762d60c02 /src/parse
parent290588c4d1161dd43f4715622f1a53f8ccd31d15 (diff)
downloadlibcss-cbb7b7349766fcbb3096f6916bc908b622fb6510.tar.gz
libcss-cbb7b7349766fcbb3096f6916bc908b622fb6510.tar.bz2
Correct type of out parameter
svn path=/trunk/libcss/; revision=13644
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/properties/utils.c2
-rw-r--r--src/parse/properties/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c
index 4eca6fc..63fe065 100644
--- a/src/parse/properties/utils.c
+++ b/src/parse/properties/utils.c
@@ -993,7 +993,7 @@ css_error css__parse_unit_specifier(css_language *c,
* \return CSS_OK on success,
* CSS_INVALID on encountering an unknown keyword
*/
-css_error css__parse_unit_keyword(const char *ptr, size_t len, css_unit *unit)
+css_error css__parse_unit_keyword(const char *ptr, size_t len, uint32_t *unit)
{
if (len == 4) {
if (strncasecmp(ptr, "grad", 4) == 0)
diff --git a/src/parse/properties/utils.h b/src/parse/properties/utils.h
index be903ee..b7b31da 100644
--- a/src/parse/properties/utils.h
+++ b/src/parse/properties/utils.h
@@ -179,7 +179,7 @@ css_error css__parse_unit_specifier(css_language *c,
css_fixed *length, uint32_t *unit);
css_error css__parse_unit_keyword(const char *ptr, size_t len,
- css_unit *unit);
+ uint32_t *unit);
css_error css__ident_list_or_string_to_string(css_language *c,
const parserutils_vector *vector, int *ctx,