Fix uintptr type incompatibility with new WALK version.

pull/10/head
Icedream 2017-04-21 02:45:53 +02:00
parent 15c418e9b6
commit 12224a9ae3
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func runGraphicalUi() (err error) {
// Window icon // Window icon
// TODO - Do this more intelligently // TODO - Do this more intelligently
for i := uintptr(0); i < uintptr(128); i++ { for i := 0; i < 128; i++ {
if icon, err := walk.NewIconFromResourceId(i); err == nil { if icon, err := walk.NewIconFromResourceId(i); err == nil {
dlg.SetIcon(icon) dlg.SetIcon(icon)
break break