From 1fc836fa21d10e111e9e7c3481507fd3ebd7284a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 28 Aug 2016 21:26:44 +0000 Subject: [PATCH] etcpak: Fix simple_array operator[] parameter type. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5840 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/android/etcpak/ProcessRGB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/android/etcpak/ProcessRGB.cpp b/polymer/eduke32/source/android/etcpak/ProcessRGB.cpp index 8dd910a33..575f05563 100644 --- a/polymer/eduke32/source/android/etcpak/ProcessRGB.cpp +++ b/polymer/eduke32/source/android/etcpak/ProcessRGB.cpp @@ -24,11 +24,11 @@ struct simple_array memset(data, 0, sizeof(data)); } - T operator [](int i) const + T operator [](size_t i) const { return data[i]; } - T & operator [](int i) + T & operator [](size_t i) { return data[i]; }