r13644 jmb - in /trunk/libcss/src/parse/properties: utils.c utils.h

netsurf at semichrome.net netsurf at semichrome.net
Sat Mar 24 22:55:22 GMT 2012


Author: jmb
Date: Sat Mar 24 17:55:22 2012
New Revision: 13644

URL: http://source.netsurf-browser.org?rev=13644&view=rev
Log:
Correct type of out parameter

Modified:
    trunk/libcss/src/parse/properties/utils.c
    trunk/libcss/src/parse/properties/utils.h

Modified: trunk/libcss/src/parse/properties/utils.c
URL: http://source.netsurf-browser.org/trunk/libcss/src/parse/properties/utils.c?rev=13644&r1=13643&r2=13644&view=diff
==============================================================================
--- trunk/libcss/src/parse/properties/utils.c (original)
+++ trunk/libcss/src/parse/properties/utils.c Sat Mar 24 17:55:22 2012
@@ -993,7 +993,7 @@
  * \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)

Modified: trunk/libcss/src/parse/properties/utils.h
URL: http://source.netsurf-browser.org/trunk/libcss/src/parse/properties/utils.h?rev=13644&r1=13643&r2=13644&view=diff
==============================================================================
--- trunk/libcss/src/parse/properties/utils.h (original)
+++ trunk/libcss/src/parse/properties/utils.h Sat Mar 24 17:55:22 2012
@@ -179,7 +179,7 @@
 		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,




More information about the netsurf-commits mailing list