diff options
author | Lev Walkin <vlm@lionet.info> | 2006-08-18 02:27:55 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-08-18 02:27:55 +0000 |
commit | c46b7cb50041897e2f6d617bdf23582d9462d4e5 (patch) | |
tree | 0b8e91f7da38399fa1aa3a7607e17a83441043b8 /libasn1compiler/asn1c_compat.c | |
parent | 5af1a6993b28abdb1b22e26d9145707d8c158713 (diff) |
*** empty log message ***
Diffstat (limited to 'libasn1compiler/asn1c_compat.c')
-rw-r--r-- | libasn1compiler/asn1c_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libasn1compiler/asn1c_compat.c b/libasn1compiler/asn1c_compat.c index b393d6d2..a6e65781 100644 --- a/libasn1compiler/asn1c_compat.c +++ b/libasn1compiler/asn1c_compat.c @@ -32,7 +32,7 @@ asn1c_open_file(const char *name, const char *ext, char **opt_tmpname) { fname = alloca(len); ret = snprintf(fname, len, "%s%s%s", name, ext, opt_tmpname ? ".XXXXXX" : ""); - assert(ret > 0 && ret < len); + assert(ret > 0 && ret < (ssize_t)len); if(opt_tmpname) { /* |