Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
7422f1f9
Commit
7422f1f9
authored
Jun 10, 2013
by
Evan Hunt
Browse files
[master] fix compiler warning
parent
c51e6991
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/crc64.c
View file @
7422f1f9
...
...
@@ -123,12 +123,14 @@ isc_crc64_init(isc_uint64_t *crc) {
void
isc_crc64_update
(
isc_uint64_t
*
crc
,
const
isc_uint8_t
*
data
,
size_t
len
)
{
unsigned
char
*
p
=
data
;
unsigned
char
*
p
;
int
i
;
REQUIRE
(
crc
!=
NULL
);
REQUIRE
(
data
!=
NULL
);
DE_CONST
(
data
,
p
);
while
(
len
--
>
0
)
{
i
=
((
int
)
(
*
crc
>>
56
)
^
*
p
++
)
&
0xff
;
*
crc
=
crc64_table
[
i
]
^
(
*
crc
<<
8
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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