aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/constr_SET_OF.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-18 04:53:32 +0000
committerLev Walkin <vlm@lionet.info>2004-08-18 04:53:32 +0000
commitec1ffd475ef646d8d7690fc11a7dfdbcf0b21b0b (patch)
treecd67406802739d64fc8c6437921089b890f1907e /skeletons/constr_SET_OF.c
parentab4bb292926be9ed8582d6b7e6b8c47dc0e3d442 (diff)
anti-warnings
Diffstat (limited to 'skeletons/constr_SET_OF.c')
-rw-r--r--skeletons/constr_SET_OF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c
index 4b2ae3a4..511207d2 100644
--- a/skeletons/constr_SET_OF.c
+++ b/skeletons/constr_SET_OF.c
@@ -10,7 +10,7 @@
* (ctx->left) indicates the number of bytes _transferred_ for the structure.
* (size) contains the number of bytes in the buffer passed.
*/
-#define LEFT ((size<(size_t)ctx->left)?size:ctx->left)
+#define LEFT ((size<(size_t)ctx->left)?size:(size_t)ctx->left)
/*
* If the subprocessor function returns with an indication that it wants