summaryrefslogtreecommitdiff
path: root/src/webextension/ext-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/webextension/ext-main.c')
-rw-r--r--src/webextension/ext-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webextension/ext-main.c b/src/webextension/ext-main.c
index 998a329..9bd4fd6 100644
--- a/src/webextension/ext-main.c
+++ b/src/webextension/ext-main.c
@@ -250,7 +250,7 @@ static void on_document_scroll(WebKitDOMEventTarget *target, WebKitDOMEvent *eve
if (doc) {
WebKitDOMElement *body, *de;
- glong max = 0, top = 0, scrollTop, scrollHeight, clientHeight;
+ guint64 max = 0, top = 0, scrollTop, scrollHeight, clientHeight;
guint percent = 0;
de = webkit_dom_document_get_document_element(doc);