that wasn't it

This commit is contained in:
leitner
2003-10-10 01:10:22 +00:00
parent 620f269149
commit 35e0e1a7c0
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,6 @@ void* array_get(array* x,uint64 membersize,int64 pos) {
if (__unlikely(pos+1<1)) return 0;
if (__unlikely(!umult64(membersize,pos,&wanted))) return 0;
if (__unlikely(wanted > x->allocated)) return 0;
if (__unlikely(wanted >= x->allocated)) return 0;
return x->p+pos*membersize;
}