summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorClay Sweetser <clay.sweetser@gmail.com>2014-05-24 08:58:40 -0400
committerClay Sweetser <clay.sweetser@gmail.com>2014-05-24 08:58:40 -0400
commitd43c06d4c5bc723e182cf6448bd592685330feab (patch)
tree5321556261fe47e643e14935aa0dd105f652135f /lib
parent46fa465eb4bd9c46c3035bf58df879b62447ca93 (diff)
downloadNim-d43c06d4c5bc723e182cf6448bd592685330feab.tar.gz
Manual merge of pull request #1138
Diffstat (limited to 'lib')
-rw-r--r--lib/windows/windows.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/windows/windows.nim b/lib/windows/windows.nim
index 7070833ce..df6ad954b 100644
--- a/lib/windows/windows.nim
+++ b/lib/windows/windows.nim
@@ -62,7 +62,7 @@ type  # BaseTsd.h -- Type definitions for the basic sized types
 

 type  # WinDef.h -- Basic Windows Type Definitions

   # BaseTypes

-  UINT* = int32
+  WINUINT* = int32

   ULONG* = int

   PULONG* = ptr int

   USHORT* = int16

@@ -23481,7 +23481,7 @@ proc ListView_EnsureVisible(hwndLV: HWND, i, fPartialOK: int32): LRESULT =
                        MAKELPARAM(fPartialOK, 0))

 

 proc ListView_FindItem(wnd: HWND, iStart: int32, lvfi: var LV_FINDINFO): int32 =

-  result = SendMessage(wnd, LVM_FINDITEM, WPARAM(iStart), 
+  result = SendMessage(wnd, LVM_FINDITEM, WPARAM(iStart), 

                        cast[LPARAM](addr(lvfi))).int32

 

 proc ListView_GetBkColor(wnd: HWND): LRESULT =