Dash:
[t2.git] / package / vdr / vdr-text2skin / hotfix-gcc43.patch
blob0ad46327e823ba1018b7cc0e3a5efaf2ed1cf6ce
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../vdr-text2skin/gcc43.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- text2skin/cache.h.orig 2005-01-31 15:40:29.000000000 +0100
18 +++ text2skin/cache.h 2008-11-02 21:50:59.000000000 +0100
19 @@ -19,21 +19,21 @@
21 item_map mItems;
22 usage_list mUsage;
23 - uint mMaxItems;
24 + unsigned int mMaxItems;
26 protected:
27 virtual void DeleteObject(const key_type &Key, data_type &Data) = 0;
28 virtual void ResetObject(data_type &Data) = 0;
30 public:
31 - cxCache(uint MaxItems);
32 + cxCache(unsigned int MaxItems);
33 virtual ~cxCache();
35 void Reset(void);
36 void Flush(void);
37 bool Contains(const key_type &Key);
38 data_type &operator[](const key_type &Key);
39 - uint Count(void) { return mUsage.size(); }
40 + unsigned int Count(void) { return mUsage.size(); }
43 template<class key_type, class data_type>
44 @@ -43,7 +43,7 @@
47 template<class key_type, class data_type>
48 -cxCache<key_type, data_type>::cxCache(uint MaxItems)
49 +cxCache<key_type, data_type>::cxCache(unsigned int MaxItems)
51 mMaxItems = MaxItems;