Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
718fd3c6
Commit
718fd3c6
authored
Aug 20, 2013
by
antirez
Browse files
dictFingerprint(): cast pointers to integer of same size.
parent
3bacf4c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.c
View file @
718fd3c6
...
...
@@ -515,10 +515,10 @@ long long dictFingerprint(dict *d) {
long
long
integers
[
6
],
hash
=
0
;
int
j
;
integers
[
0
]
=
(
long
long
)
d
->
ht
[
0
].
table
;
integers
[
0
]
=
(
long
)
d
->
ht
[
0
].
table
;
integers
[
1
]
=
d
->
ht
[
0
].
size
;
integers
[
2
]
=
d
->
ht
[
0
].
used
;
integers
[
3
]
=
(
long
long
)
d
->
ht
[
1
].
table
;
integers
[
3
]
=
(
long
)
d
->
ht
[
1
].
table
;
integers
[
4
]
=
d
->
ht
[
1
].
size
;
integers
[
5
]
=
d
->
ht
[
1
].
used
;
...
...
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