oops: bug1234780
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@936 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET.h b/skeletons/constr_SET.h
index afe0c7c..7e8af97 100644
--- a/skeletons/constr_SET.h
+++ b/skeletons/constr_SET.h
@@ -58,7 +58,7 @@
* It is very simple bitfield test, despite its visual complexity.
*/
#define ASN_SET_ISPRESENT(set_ptr, PR_x) \
- ASN_SET_ISPRESENT2(&((set_ptr)->_presence_map))
+ ASN_SET_ISPRESENT2(&((set_ptr)->_presence_map), PR_x)
#define ASN_SET_ISPRESENT2(map_ptr, PR_x) \
(((unsigned int *)(map_ptr)) \
[(PR_x) / (8 * sizeof(unsigned int))] \