X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/c09ebffeb5fc8d2c644fa818f3510a6300340725..ae13359213220016611ceaf93109dac6849be88b:/src/ctype.c diff --git a/src/ctype.c b/src/ctype.c index 8ed249f..d3af606 100644 --- a/src/ctype.c +++ b/src/ctype.c @@ -2838,7 +2838,7 @@ size_t ctype_getArraySize (ctype c) ctype ctype_biggerType (ctype c1, ctype c2) { - if (ctbase_isBigger (ctype_getCtbaseSafe (c2), ctype_getCtbaseSafe (c1)) ) + if (ctbase_isBigger (ctype_getCtbaseSafe (c2), ctype_getCtbaseSafe (c1))) { return c2; } @@ -2847,3 +2847,8 @@ ctype ctype_biggerType (ctype c1, ctype c2) return c1; } } + +int ctype_getSize (ctype c) +{ + return ctbase_getSize (ctype_getCtbaseSafe (ctype_realType (c))); +}