Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
e695d2e4
Commit
e695d2e4
authored
Oct 20, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccan_tokenizer: 64-bit compile fixes.
%zu for size_t printf.
parent
32ed68de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ccan/ccan_tokenizer/test/run.c
ccan/ccan_tokenizer/test/run.c
+2
-2
No files found.
ccan/ccan_tokenizer/test/run.c
View file @
e695d2e4
...
...
@@ -147,7 +147,7 @@ static void test_read_cstring(void) {
queue_skip
(
mq
);
}
if
(
i
<
e
)
printf
(
"Item %u is incorrect
\n
"
,
i
);
printf
(
"Item %
z
u is incorrect
\n
"
,
i
);
ok
(
i
==
e
,
"Is message queue correct?"
);
ok
(
!
queue_count
(
mq
),
"Message queue should be empty now."
);
}
...
...
@@ -685,7 +685,7 @@ static void test_scan_number_single(const char *str_pipes,
return
;
}
if
(
sn
.
dots_found
!=
dots_found
)
{
fail
(
"%s : sn.dots_found is %
d; should be %d
"
,
str_pipes
,
fail
(
"%s : sn.dots_found is %
zu; should be %zu
"
,
str_pipes
,
sn
.
dots_found
,
dots_found
);
return
;
}
...
...
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