about summary refs log tree commit diff stats
path: root/src/html/env.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/env.nim')
-rw-r--r--src/html/env.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/env.nim b/src/html/env.nim
index 687c577a..144a6a05 100644
--- a/src/html/env.nim
+++ b/src/html/env.nim
@@ -55,9 +55,9 @@ proc javaEnabled(navigator: ptr Navigator): bool {.jsfunc.} = false
 proc namedItem(pluginArray: ptr PluginArray): string {.jsfunc.} = ""
 proc namedItem(mimeTypeArray: ptr MimeTypeArray): string {.jsfunc.} = ""
 proc item(pluginArray: ptr PluginArray): JSValue {.jsfunc.} = JS_NULL
-proc length(pluginArray: ptr PluginArray): int {.jsfget.} = 0
+proc length(pluginArray: ptr PluginArray): uint32 {.jsfget.} = 0
 proc item(mimeTypeArray: ptr MimeTypeArray): JSValue {.jsfunc.} = JS_NULL
-proc length(mimeTypeArray: ptr MimeTypeArray): int {.jsfget.} = 0
+proc length(mimeTypeArray: ptr MimeTypeArray): uint32 {.jsfget.} = 0
 proc getter(pluginArray: ptr PluginArray, i: int): Option[JSValue] {.jsgetprop.} = discard
 proc getter(mimeTypeArray: ptr MimeTypeArray, i: int): Option[JSValue] {.jsgetprop.} = discard