diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-06-02 09:52:57 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-06-02 09:52:57 +0100 |
commit | 2a508df4ad666163ec476809aa2f609ac8a4da24 (patch) | |
tree | 65ef60180574f558af037a9bf777bbbbacecfd30 | |
parent | 096d136937c18e9a588f3b6df66293cecfb5cdaa (diff) | |
download | libcss-2a508df4ad666163ec476809aa2f609ac8a4da24.tar.gz libcss-2a508df4ad666163ec476809aa2f609ac8a4da24.tar.bz2 |
Fix warning.
-rw-r--r-- | src/parse/properties/css_property_parser_gen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse/properties/css_property_parser_gen.c b/src/parse/properties/css_property_parser_gen.c index 9c4be2a..d6c7fd9 100644 --- a/src/parse/properties/css_property_parser_gen.c +++ b/src/parse/properties/css_property_parser_gen.c @@ -523,7 +523,8 @@ int main(int argc, char **argv) while (*curpos != 0) { rkv = get_keyval(&curpos); if (rkv == NULL) { - fprintf(stderr,"Token error at offset %ld\n", curpos - descriptor); + fprintf(stderr,"Token error at offset %ld\n", + (long)(curpos - descriptor)); fclose(outputf); return 2; } |