summaryrefslogtreecommitdiffstats
path: root/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/queue.c b/queue.c
index 2c43e773..18ea416c 100644
--- a/queue.c
+++ b/queue.c
@@ -2066,15 +2066,15 @@ static rsRetVal queueSetProperty(queue_t *pThis, var_t *pProp)
ASSERT(pProp != NULL);
if(isProp("iQueueSize")) {
- pThis->iQueueSize = pProp->val.vInt;
+ pThis->iQueueSize = pProp->val.num;
} else if(isProp("iUngottenObjs")) {
- pThis->iUngottenObjs = pProp->val.vInt;
+ pThis->iUngottenObjs = pProp->val.num;
} else if(isProp("tVars.disk.sizeOnDisk")) {
- pThis->tVars.disk.sizeOnDisk = pProp->val.vLong;
+ pThis->tVars.disk.sizeOnDisk = pProp->val.num;
} else if(isProp("tVars.disk.bytesRead")) {
- pThis->tVars.disk.bytesRead = pProp->val.vLong;
+ pThis->tVars.disk.bytesRead = pProp->val.num;
} else if(isProp("qType")) {
- if(pThis->qType != pProp->val.vLong)
+ if(pThis->qType != pProp->val.num)
ABORT_FINALIZE(RS_RET_QTYPE_MISMATCH);
}