author | mickeyl <mickeyl> | 2003-01-23 13:26:21 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-01-23 13:26:21 (UTC) |
commit | 6464e96567a07c3104b31292e8a23945b13d0da6 (patch) (unidiff) | |
tree | 79f75c9402edab972e099f6bdd7dbd092f370095 /noncore/apps/opie-reader/Bkmks.cpp | |
parent | 197b10539409b5650170879b904b9f781294866e (diff) | |
download | opie-6464e96567a07c3104b31292e8a23945b13d0da6.zip opie-6464e96567a07c3104b31292e8a23945b13d0da6.tar.gz opie-6464e96567a07c3104b31292e8a23945b13d0da6.tar.bz2 |
g++ 3.2 fixes... repeat after me "I won't repeat default arguments in the definition I have already given in the declaration"
Diffstat (limited to 'noncore/apps/opie-reader/Bkmks.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/Bkmks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/Bkmks.cpp b/noncore/apps/opie-reader/Bkmks.cpp index 998601a..a8bee13 100644 --- a/noncore/apps/opie-reader/Bkmks.cpp +++ b/noncore/apps/opie-reader/Bkmks.cpp | |||
@@ -143,17 +143,17 @@ void Bkmk::setAnno(tchar* t) | |||
143 | else | 143 | else |
144 | { | 144 | { |
145 | m_annolen = sizeof(tchar); | 145 | m_annolen = sizeof(tchar); |
146 | m_anno = new unsigned char[m_annolen]; | 146 | m_anno = new unsigned char[m_annolen]; |
147 | *((tchar*)m_anno) = 0; | 147 | *((tchar*)m_anno) = 0; |
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | BkmkFile::BkmkFile(const char *fnm, bool w = false) | 151 | BkmkFile::BkmkFile(const char *fnm, bool w) |
152 | : | 152 | : |
153 | wt(w), isUpgraded(false) | 153 | wt(w), isUpgraded(false) |
154 | { | 154 | { |
155 | if (w) | 155 | if (w) |
156 | { | 156 | { |
157 | f = fopen(fnm, "wb"); | 157 | f = fopen(fnm, "wb"); |
158 | } | 158 | } |
159 | else | 159 | else |