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
99de79ad
Commit
99de79ad
authored
Oct 09, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version/tests: Win64 printf format warning fixes.
parent
f5c67be3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/version/tests/Makefile.in
+0
-1
info.c
dlls/version/tests/info.c
+0
-0
install.c
dlls/version/tests/install.c
+6
-6
No files found.
dlls/version/tests/Makefile.in
View file @
99de79ad
...
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
TESTDLL
=
version.dll
IMPORTS
=
version kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
CTESTS
=
\
info.c
\
...
...
dlls/version/tests/info.c
View file @
99de79ad
This diff is collapsed.
Click to expand it.
dlls/version/tests/install.c
View file @
99de79ad
...
...
@@ -60,7 +60,7 @@ static void test_find_file(void)
"got %d(%s) expected MAX_PATH
\n
"
,
dwOut
,
outBuf
);
break
;
default:
ok
(
0
,
"Got unexpected return value %
l
x
\n
"
,
ret
);
ok
(
0
,
"Got unexpected return value %x
\n
"
,
ret
);
}
if
(
!
GetWindowsDirectoryA
(
windir
,
MAX_PATH
))
...
...
@@ -89,7 +89,7 @@ static void test_find_file(void)
"got %d(%s) expected MAX_PATH
\n
"
,
dwOut
,
outBuf
);
break
;
default:
todo_wine
ok
(
0
,
"Got unexpected return value %
l
x
\n
"
,
ret
);
todo_wine
ok
(
0
,
"Got unexpected return value %x
\n
"
,
ret
);
}
dwCur
=
MAX_PATH
;
...
...
@@ -111,7 +111,7 @@ static void test_find_file(void)
"got %d(%s) expected MAX_PATH
\n
"
,
dwOut
,
outBuf
);
break
;
default:
todo_wine
ok
(
0
,
"Got unexpected return value %
l
x
\n
"
,
ret
);
todo_wine
ok
(
0
,
"Got unexpected return value %x
\n
"
,
ret
);
}
}
}
...
...
@@ -142,7 +142,7 @@ static void test_find_file(void)
"got %d(%s) expected MAX_PATH
\n
"
,
dwOut
,
outBuf
);
break
;
default:
todo_wine
ok
(
0
,
"Got unexpected return value %
l
x
\n
"
,
ret
);
todo_wine
ok
(
0
,
"Got unexpected return value %x
\n
"
,
ret
);
}
dwCur
=
MAX_PATH
;
...
...
@@ -150,7 +150,7 @@ static void test_find_file(void)
memset
(
outBuf
,
0
,
MAX_PATH
);
memset
(
curdir
,
0
,
MAX_PATH
);
ret
=
VerFindFileA
(
VFFF_ISSHAREDFILE
,
filename
,
NULL
,
appdir
,
curdir
,
&
dwCur
,
outBuf
,
&
dwOut
);
todo_wine
ok
(
VFF_CURNEDEST
==
ret
,
"Wrong return value got %
l
x expected VFF_CURNEDEST
\n
"
,
ret
);
todo_wine
ok
(
VFF_CURNEDEST
==
ret
,
"Wrong return value got %x expected VFF_CURNEDEST
\n
"
,
ret
);
ok
(
dwOut
==
1
+
strlen
(
windir
),
"Wrong length of buffer for current location: "
"got %d(%s) expected %d
\n
"
,
dwOut
,
outBuf
,
lstrlenA
(
windir
)
+
1
);
...
...
@@ -159,7 +159,7 @@ static void test_find_file(void)
memset
(
outBuf
,
0
,
MAX_PATH
);
memset
(
curdir
,
0
,
MAX_PATH
);
ret
=
VerFindFileA
(
0
,
filename
,
NULL
,
appdir
,
curdir
,
&
dwCur
,
outBuf
,
&
dwOut
);
todo_wine
ok
(
VFF_CURNEDEST
==
ret
,
"Wrong return value got %
l
x expected VFF_CURNEDEST
\n
"
,
ret
);
todo_wine
ok
(
VFF_CURNEDEST
==
ret
,
"Wrong return value got %x expected VFF_CURNEDEST
\n
"
,
ret
);
ok
(
dwOut
==
1
+
strlen
(
appdir
),
"Wrong length of buffer for current location: "
"got %d(%s) expected %d
\n
"
,
dwOut
,
outBuf
,
lstrlenA
(
appdir
)
+
1
);
}
...
...
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