treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
184 stars 27 forks source link

platforms/win32/platform.nim(120, 9) Error: cannot convert 12175 to range 0..255(int) #103

Closed doongjohn closed 10 months ago

doongjohn commented 11 months ago

puppy version: 2.0.3 nim version:

Nim Compiler Version 1.9.5 [Linux: amd64]
Compiled at 2023-07-28
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: f1ac979184ad7fa0d8c44415e781181a00a0095f
active boot switches: -d:release

error when building windows exe:

~/.nimble/pkgs2/puppy-2.0.3-988d9d6798ea228aa2c6e13a53021ebb2a0c3ca6/puppy/platforms/win32/platform.nim(119, 16) template/generic instantiation of `in` from here
~/.nimble/pkgs2/puppy-2.0.3-988d9d6798ea228aa2c6e13a53021ebb2a0c3ca6/puppy/platforms/win32/platform.nim(120, 9) Error: cannot convert 12175 to range 0..255(int)
guzba commented 11 months ago

The PR is merged so tagging a release will be next.

treeform commented 10 months ago

Thank you for the issue!

Released https://github.com/treeform/puppy/releases/tag/2.1.0 with this change.