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:
43a46d6
)
- add some parens to fix the segfault
author
Michael Schroeder
<mls@suse.de>
Mon, 13 Oct 2008 11:50:35 +0000
(11:50 +0000)
committer
Michael Schroeder
<mls@suse.de>
Mon, 13 Oct 2008 11:50:35 +0000
(11:50 +0000)
src/repo_solv.c
patch
|
blob
|
history
diff --git
a/src/repo_solv.c
b/src/repo_solv.c
index
94cf19f
..
3a01795
100644
(file)
--- a/
src/repo_solv.c
+++ b/
src/repo_solv.c
@@
-1044,7
+1044,7
@@
printf("pop flexarray %d %d\n", keydepth, nentries);
if (keydepth <= 2)
{
if (keydepth == 0)
- data.mainschemaoffsets[keyp - 1 -
schemadata + schemata[data.mainschema]
] = data.incoredatalen;
+ data.mainschemaoffsets[keyp - 1 -
(schemadata + schemata[data.mainschema])
] = data.incoredatalen;
/* read data chunk to dp */
if (data.error)
break;