aboutsummaryrefslogtreecommitdiff
path: root/c/data.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-16 16:09:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-16 16:09:51 +0200
commit8351d4c42c76584415e02a40d41f497a8f042c72 (patch)
tree6df66783c16130f943c78a8e09d6dfa2ef0359fe /c/data.h
parentab621173afc918797a4ea68b5d6ceee7cc043f72 (diff)
downloadEpisodeBrowser-8351d4c42c76584415e02a40d41f497a8f042c72.tar.gz
EpisodeListView: Use FileView consistently.
Diffstat (limited to 'c/data.h')
-rw-r--r--c/data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/data.h b/c/data.h
index e584442..2cc4c14 100644
--- a/c/data.h
+++ b/c/data.h
@@ -35,6 +35,7 @@ struct FileView
FileView(const wchar_t* filename, size_t cb);
~FileView();
inline operator unsigned char*() { return view; }
+ inline operator ElvDataA*() { return reinterpret_cast<ElvDataA*>(view); }
HANDLE hf;
HANDLE hm;
unsigned char* view;