]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Correct the declaration of a static volatile.
authorTim Kientzle <kientzle@gmail.com>
Sat, 23 May 2009 17:29:40 +0000 (13:29 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 23 May 2009 17:29:40 +0000 (13:29 -0400)
SVN-Revision: 1095

libarchive/archive_write_set_format_zip.c

index 55879e7122b2bb5fccc97afe8a629087a42b20bf..d829008e62b91e9f42ede19ed3e32cb593e81934 100644 (file)
@@ -624,7 +624,7 @@ bytecrc32(unsigned c, const void *_p, size_t s)
 {
        unsigned b, i;
        const unsigned char *p = _p;
-       volatile static int bytecrc_table_inited = 0;
+       static volatile int bytecrc_table_inited = 0;
        static unsigned bytecrc_table[256];
 
        if (p == NULL) return (0);