Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
92f9dd19
Commit
92f9dd19
authored
Sep 13, 2015
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Sep 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc: Avoid two cases of shift overflow.
parent
1e940212
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.c
dlls/oleacc/tests/main.c
+2
-2
No files found.
dlls/oleacc/tests/main.c
View file @
92f9dd19
...
@@ -445,7 +445,7 @@ static void test_GetStateText(void)
...
@@ -445,7 +445,7 @@ static void test_GetStateText(void)
ret
=
GetStateTextW
(
1
<<
i
,
buf
,
1024
);
ret
=
GetStateTextW
(
1
<<
i
,
buf
,
1024
);
ok
(
ret
,
"%d) GetStateText failed
\n
"
,
i
);
ok
(
ret
,
"%d) GetStateText failed
\n
"
,
i
);
}
}
ret
=
GetStateTextW
(
1
<<
31
,
buf
,
1024
);
ret
=
GetStateTextW
(
1
u
<<
31
,
buf
,
1024
);
ok
(
!
ret
,
"31) GetStateText succeeded: %d
\n
"
,
ret
);
ok
(
!
ret
,
"31) GetStateText succeeded: %d
\n
"
,
ret
);
ret
=
GetStateTextW
(
2
,
buf
,
1024
);
ret
=
GetStateTextW
(
2
,
buf
,
1024
);
...
@@ -478,7 +478,7 @@ static void test_GetStateText(void)
...
@@ -478,7 +478,7 @@ static void test_GetStateText(void)
ret
=
GetStateTextA
(
1
<<
i
,
bufa
,
1024
);
ret
=
GetStateTextA
(
1
<<
i
,
bufa
,
1024
);
ok
(
ret
,
"%d) GetStateText failed
\n
"
,
i
);
ok
(
ret
,
"%d) GetStateText failed
\n
"
,
i
);
}
}
ret
=
GetStateTextA
(
1
<<
31
,
bufa
,
1024
);
ret
=
GetStateTextA
(
1
u
<<
31
,
bufa
,
1024
);
ok
(
!
ret
,
"31) GetStateText succeeded: %d
\n
"
,
ret
);
ok
(
!
ret
,
"31) GetStateText succeeded: %d
\n
"
,
ret
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment