summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-03-30 20:34:11 +0000
committerscop <scop>2005-03-30 20:34:11 +0000
commit0300f4ffd523683707fb3c0a6b0f0c5c16f2aa54 (patch)
tree25a0d29f36a55ac1034b992684d45fc200bb8ff0
parent3bafc7f32541f1ad0af12d5b33bb4c319b492458 (diff)
downloadvdr-plugin-dxr3-0300f4ffd523683707fb3c0a6b0f0c5c16f2aa54.tar.gz
vdr-plugin-dxr3-0300f4ffd523683707fb3c0a6b0f0c5c16f2aa54.tar.bz2
m_pal is uint32_t, from patch by Martin Cap.
-rw-r--r--CONTRIBUTORS1
-rw-r--r--dxr3palettemanager.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 5385974..aa74272 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -3,6 +3,7 @@ one way or the another. Without their help, the plugin would not be as good
as it is now.
Jon Burgess
+Martin Cap
Stuart Daines
Martin Dauskardt
Peter Dittmann
diff --git a/dxr3palettemanager.c b/dxr3palettemanager.c
index 745e030..b93eaeb 100644
--- a/dxr3palettemanager.c
+++ b/dxr3palettemanager.c
@@ -21,7 +21,7 @@ cDxr3PaletteManager::cDxr3PaletteManager()
{
memset(m_colors, 0, sizeof(int) * MAX_COLORS);
memset(m_users, 0, sizeof(int) * MAX_COLORS);
- memset(m_pal, 0, sizeof(int) * MAX_COLORS);
+ memset(m_pal, 0, sizeof(uint32_t) * MAX_COLORS);
m_changed = false;
};