Author: mlschroe Date: Mon Oct 13 13:50:35 2008 New Revision: 11314 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11314&view=rev Log: - add some parens to fix the segfault Modified: trunk/sat-solver/src/repo_solv.c Modified: trunk/sat-solver/src/repo_solv.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo_solv.c?rev=11314&r1=11313&r2=11314&view=diff ============================================================================== --- trunk/sat-solver/src/repo_solv.c (original) +++ trunk/sat-solver/src/repo_solv.c Mon Oct 13 13:50:35 2008 @@ -1044,7 +1044,7 @@ 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; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org