summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stylesheet.c4
-rw-r--r--src/stylesheet.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index a9413cc..da76915 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -37,7 +37,7 @@ static css_error _remove_selectors(css_stylesheet *sheet, css_rule *rule);
*/
css_error css_stylesheet_create(css_language_level level,
const char *charset, const char *url, const char *title,
- css_origin origin, uint32_t media,
+ css_origin origin, uint64_t media,
css_import_handler import_callback, void *import_pw,
css_alloc alloc, void *alloc_pw, css_stylesheet **stylesheet)
{
@@ -284,7 +284,7 @@ css_error css_stylesheet_get_origin(css_stylesheet *sheet, css_origin *origin)
* \param media Pointer to location to receive media types
* \return CSS_OK on success, appropriate error otherwise
*/
-css_error css_stylesheet_get_media(css_stylesheet *sheet, uint32_t *media)
+css_error css_stylesheet_get_media(css_stylesheet *sheet, uint64_t *media)
{
if (sheet == NULL || media == NULL)
return CSS_BADPARM;
diff --git a/src/stylesheet.h b/src/stylesheet.h
index fc74198..f1fb3fb 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -156,7 +156,7 @@ struct css_stylesheet {
char *title; /**< Title of this sheet */
css_origin origin; /**< Origin of stylesheet */
- uint32_t media; /**< Bitfield of media types */
+ uint64_t media; /**< Bitfield of media types */
void *ownerNode; /**< Owning node in document */
css_rule *ownerRule; /**< Owning rule in parent */