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
2cde6042
Commit
2cde6042
authored
Nov 24, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snmpapi/tests: Fix a crash on some 64bit systems.
parent
01b972d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util.c
dlls/snmpapi/tests/util.c
+2
-2
No files found.
dlls/snmpapi/tests/util.c
View file @
2cde6042
...
...
@@ -424,7 +424,7 @@ static void test_SnmpUtilOidAppend(void)
static
AsnObjectIdentifier
oid1
;
static
AsnObjectIdentifier
oid2
=
{
3
,
ids2
};
ids1
=
HeapAlloc
(
GetProcessHeap
(),
0
,
3
*
sizeof
(
UINT
));
ids1
=
SnmpUtilMemAlloc
(
3
*
sizeof
(
UINT
));
ids1
[
0
]
=
1
;
ids1
[
1
]
=
2
;
ids1
[
2
]
=
3
;
...
...
@@ -451,7 +451,7 @@ static void test_SnmpUtilOidAppend(void)
ok
(
!
memcmp
(
&
oid1
.
ids
[
3
],
ids2
,
3
*
sizeof
(
UINT
)),
"SnmpUtilOidAppend failed
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
ids
1
);
SnmpUtilOidFree
(
&
oid
1
);
}
static
void
test_SnmpUtilVarBindCpyFree
(
void
)
...
...
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