summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};