}
memcpy(act[p]->buf[dest], act[p]->buf[src],
- (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
+ (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
}
}
for (j = 0; j < 3; j++) {
SREALLOC(act[p]->buf[j], void,
- (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
+ (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
}
return 0;
for (i = 0; i < NR_ACT; i++) {
if ((act[i]->nr > 0) && act[i]->_buf0) {
memset(act[i]->_buf0, 0,
- (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
+ (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
}
}
}
if (act[i]->nr > 0) {
/* Allocate structures for current activity */
SREALLOC(act[i]->_buf0, void,
- (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
+ (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
}
else {
/* No items found: Invalidate current activity */
}
act[p]->nr2 = file_act[i].nr2;
SREALLOC(act[p]->_buf0, void,
- (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
+ (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2);
/* Save activity sequence */
id_seq[i] = file_act[i].id;
for (i = 0; i < NR_ACT; i++) {
if (IS_SELECTED(act[i]->options) && (act[i]->nr > 0)) {
memset(act[i]->buf[!curr], 0,
- (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
+ (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2);
}
}