Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
505d5b8a
Commit
505d5b8a
authored
Feb 04, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2873 from ethomson/structinit
structinit test: use %PRIuZ instead of %d for size_t
parents
f9e7abcb
f45f9b6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tests/core/structinit.c
+1
-1
No files found.
tests/core/structinit.c
View file @
505d5b8a
...
@@ -45,7 +45,7 @@ static void options_cmp(void *one, void *two, size_t size, const char *name)
...
@@ -45,7 +45,7 @@ static void options_cmp(void *one, void *two, size_t size, const char *name)
if
(((
char
*
)
one
)[
i
]
!=
((
char
*
)
two
)[
i
])
{
if
(((
char
*
)
one
)[
i
]
!=
((
char
*
)
two
)[
i
])
{
char
desc
[
1024
];
char
desc
[
1024
];
p_snprintf
(
desc
,
1024
,
"Difference in %s at byte %
d
: macro=%u / func=%u"
,
p_snprintf
(
desc
,
1024
,
"Difference in %s at byte %
"
PRIuZ
"
: macro=%u / func=%u"
,
name
,
i
,
((
char
*
)
one
)[
i
],
((
char
*
)
two
)[
i
]);
name
,
i
,
((
char
*
)
one
)[
i
],
((
char
*
)
two
)[
i
]);
clar__fail
(
__FILE__
,
__LINE__
,
clar__fail
(
__FILE__
,
__LINE__
,
"Difference between macro and function options initializer"
,
"Difference between macro and function options initializer"
,
...
...
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