1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/libwpd/gcc-0.8.patch
Lluís Batlle i Rossell a51ca62215 Fixing the build of libwpd 0.8. That will help openoffice to go on building.
svn path=/nixpkgs/trunk/; revision=32871
2012-03-07 22:38:42 +00:00

14 lines
456 B
Diff

diff --git a/src/lib/WPXTable.h b/src/lib/WPXTable.h
index 6d1e921..0234ad7 100644
--- a/src/lib/WPXTable.h
+++ b/src/lib/WPXTable.h
@@ -76,7 +76,7 @@ public:
WPXTableList & operator=(const WPXTableList & tableList);
virtual ~WPXTableList();
- WPXTable * operator[](size_t i) { return (*m_tableList)[i]; }
+ WPXTable * operator[](std::size_t i) { return (*m_tableList)[i]; }
void add(WPXTable *table) { m_tableList->push_back(table); }
private: