summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/sleepyhead/files/prs1-64fix.patch')
-rw-r--r--app-misc/sleepyhead/files/prs1-64fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/sleepyhead/files/prs1-64fix.patch b/app-misc/sleepyhead/files/prs1-64fix.patch
new file mode 100644
index 000000000000..a7b1070eeb4c
--- /dev/null
+++ b/app-misc/sleepyhead/files/prs1-64fix.patch
@@ -0,0 +1,13 @@
+diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp
+index d7f102c..61f2d34 100644
+--- a/SleepLib/loader_plugins/prs1_loader.cpp
++++ b/SleepLib/loader_plugins/prs1_loader.cpp
+@@ -597,7 +597,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b
+ CPAP_LeakTotal, PRS1_12
+ };
+
+- int ncodes=sizeof(Codes)/sizeof(QString);
++ int ncodes=sizeof(Codes)/sizeof(ChannelID);
+ EventList * Code[0x20]={NULL};
+
+