diff options
author | Duong Nguyen <dnguyen> | 2008-08-25 23:13:47 +0000 |
---|---|---|
committer | Duong Nguyen <dnguyen> | 2008-08-25 23:13:47 +0000 |
commit | ea81254f709cb19518368dbc4296a7e1d07d5d39 (patch) | |
tree | ab7615b32c2e3d530f60907db1c5f7b82a6f4939 | |
parent | a8303725e04b6933109cfd0077f864908933d0cd (diff) | |
download | eclipse.platform.swt-ea81254f709cb19518368dbc4296a7e1d07d5d39.tar.gz eclipse.platform.swt-ea81254f709cb19518368dbc4296a7e1d07d5d39.tar.xz eclipse.platform.swt-ea81254f709cb19518368dbc4296a7e1d07d5d39.zip |
Fixed 64 bit error
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java index c7ec93a8df..b0afde2271 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java @@ -324,8 +324,8 @@ public void setSelection (int value) { int /*long*/ state = 0; boolean fixSelection = false; if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) { - int minumum = /*64*/OS.SendMessage (handle, OS.PBM_GETRANGE, 1, 0); - int selection = (int)/*64*/OS.SendMessage (handle, OS.PBM_GETPOS, 0, 0); + int /*long*/ minumum = OS.SendMessage (handle, OS.PBM_GETRANGE, 1, 0); + int /*long*/ selection = OS.SendMessage (handle, OS.PBM_GETPOS, 0, 0); if (selection == minumum) { fixSelection = true; state = OS.SendMessage (handle, OS.PBM_GETSTATE, 0, 0); |