]> wimlib.net Git - wimlib/commitdiff
mount_image.c: Don't use tchar when not necessary
authorEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 21:21:47 +0000 (16:21 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 21:21:47 +0000 (16:21 -0500)
src/mount_image.c

index f9d4c4001045a4880485fe211b1a1fd2df8808e9..934b4450c6bc0f150ed3894a2385561f9e923934 100644 (file)
@@ -379,16 +379,16 @@ wim_pathname_to_stream(const struct wimfs_context *ctx, const char *path,
        struct wim_dentry *dentry;
        struct wim_lookup_table_entry *lte;
        u16 stream_idx;
        struct wim_dentry *dentry;
        struct wim_lookup_table_entry *lte;
        u16 stream_idx;
-       const tchar *stream_name = NULL;
+       const char *stream_name = NULL;
        struct wim_inode *inode;
        struct wim_inode *inode;
-       tchar *p = NULL;
+       char *p = NULL;
 
        lookup_flags |= ctx->default_lookup_flags;
 
        if (lookup_flags & LOOKUP_FLAG_ADS_OK) {
                stream_name = path_stream_name(path);
                if (stream_name) {
 
        lookup_flags |= ctx->default_lookup_flags;
 
        if (lookup_flags & LOOKUP_FLAG_ADS_OK) {
                stream_name = path_stream_name(path);
                if (stream_name) {
-                       p = (tchar*)stream_name - 1;
+                       p = (char *)stream_name - 1;
                        *p = T('\0');
                }
        }
                        *p = T('\0');
                }
        }