]> wimlib.net Git - wimlib/blobdiff - src/header.c
Lots of changes
[wimlib] / src / header.c
index 69d4f695dbbdf0a4be057ecf404abb8904dbf100..2a7fe32b5fbaac0318b83d6937b5c2349dcd0d91 100644 (file)
@@ -197,14 +197,14 @@ int init_header(struct wim_header *hdr, int ctype)
 {
        memset(hdr, 0, sizeof(struct wim_header));
        switch (ctype) {
-       case WIM_COMPRESSION_TYPE_NONE:
+       case WIMLIB_COMPRESSION_TYPE_NONE:
                hdr->flags = 0;
                break;
-       case WIM_COMPRESSION_TYPE_LZX:
+       case WIMLIB_COMPRESSION_TYPE_LZX:
                hdr->flags = WIM_HDR_FLAG_COMPRESSION |
                             WIM_HDR_FLAG_COMPRESS_LZX;
                break;
-       case WIM_COMPRESSION_TYPE_XPRESS:
+       case WIMLIB_COMPRESSION_TYPE_XPRESS:
                hdr->flags = WIM_HDR_FLAG_COMPRESSION |
                             WIM_HDR_FLAG_COMPRESS_XPRESS;
                break;