diff options
author | Eugene Tarassov | 2015-04-28 16:56:44 +0000 |
---|---|---|
committer | Eugene Tarassov | 2015-04-28 16:56:44 +0000 |
commit | d67c76e03c0bae9ea684e1829c9d57db736741fb (patch) | |
tree | e2ca1d7a2b34aa33a5615af574a14fe4e545c5ba | |
parent | 6ac31e12095ac92eeb3d8d853ef2e71fb06d5a53 (diff) | |
download | org.eclipse.tcf.agent-d67c76e03c0bae9ea684e1829c9d57db736741fb.tar.gz org.eclipse.tcf.agent-d67c76e03c0bae9ea684e1829c9d57db736741fb.tar.xz org.eclipse.tcf.agent-d67c76e03c0bae9ea684e1829c9d57db736741fb.zip |
TCF Agent: got rid of compiler warning
-rw-r--r-- | agent/tcf/services/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/expressions.c b/agent/tcf/services/expressions.c index 255d37e6..acfad576 100644 --- a/agent/tcf/services/expressions.c +++ b/agent/tcf/services/expressions.c @@ -2412,7 +2412,7 @@ static void op_index(int mode, Value * v) { v->value = (char *)v->value + byte_offs; if (props.bit_stride != 0) { unsigned x; - uint8_t * buf = (uint8_t *)tmp_alloc_zero(size); + uint8_t * buf = (uint8_t *)tmp_alloc_zero((size_t)size); uint8_t * val = (uint8_t *)v->value; v->value = buf; for (x = 0; x < props.bit_stride; x++) { |