summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,