lclint additions.
authorjbj <devnull@localhost>
Wed, 23 Aug 2000 12:40:12 +0000 (12:40 +0000)
committerjbj <devnull@localhost>
Wed, 23 Aug 2000 12:40:12 +0000 (12:40 +0000)
CVS patchset: 4102
CVS date: 2000/08/23 12:40:12

lib/db3.c

index fa744fc..50259de 100644 (file)
--- a/lib/db3.c
+++ b/lib/db3.c
@@ -185,7 +185,7 @@ static int dbSaveInt(const struct dbOption * opt, long aLong) {
        break;
     default:
        return POPT_ERROR_BADOPERATION;
-       break;
+       /*@notreached@*/ break;
     }
     return 0;
 }
@@ -364,7 +364,7 @@ static const char *const prDbiOpenFlags(int dbflags, int print_dbenv_flags)
     if (dbflags) {
        if (oe != buf)
            *oe++ = ':';
-           sprintf(oe, "0x%x", dbflags);
+           sprintf(oe, "0x%x", (unsigned)dbflags);
     }
     return buf;
 }