From: Eric Biggers Date: Mon, 26 May 2014 21:21:47 +0000 (-0500) Subject: mount_image.c: Don't use tchar when not necessary X-Git-Tag: v1.7.0~86 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=23e0fbfa065d4f25f41ce145e56765b7bf4bac92 mount_image.c: Don't use tchar when not necessary --- diff --git a/src/mount_image.c b/src/mount_image.c index f9d4c400..934b4450 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -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; - const tchar *stream_name = NULL; + const char *stream_name = NULL; 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) { - p = (tchar*)stream_name - 1; + p = (char *)stream_name - 1; *p = T('\0'); } }