projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe1a44
)
Very subtle sign/zero-extension bug occuring on 64bit.
author
Michael Matz
<matz@suse.de>
Thu, 17 Jan 2008 16:28:52 +0000
(16:28 +0000)
committer
Michael Matz
<matz@suse.de>
Thu, 17 Jan 2008 16:28:52 +0000
(16:28 +0000)
src/fastlz.c
patch
|
blob
|
history
diff --git
a/src/fastlz.c
b/src/fastlz.c
index
ece6da9
..
02049c3
100644
(file)
--- a/
src/fastlz.c
+++ b/
src/fastlz.c
@@
-332,7
+332,7
@@
unchecked_decompress_buf (const unsigned char *in, unsigned int in_len,
better optimizable. */
do
{
- *out =
out[-o]
;
+ *out =
*(out - o)
;
out++;
}
while (--first);