summaryrefslogtreecommitdiff
path: root/plugins/ini
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:41 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:41 -0500
commitf03d3057100193256aa83963081186bd153de64b (patch)
treecf8f207e16a7029ac6a42050091e4acf08408c08 /plugins/ini
parent64b23870a773f409a90e2b40abdacd987b29438c (diff)
downloadcompiz-with-glib-mainloop-f03d3057100193256aa83963081186bd153de64b.tar.gz
compiz-with-glib-mainloop-f03d3057100193256aa83963081186bd153de64b.tar.bz2
Silence some warnings.
Diffstat (limited to 'plugins/ini')
-rw-r--r--plugins/ini/src/ini.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ini/src/ini.cpp b/plugins/ini/src/ini.cpp
index cf03d2a..edaef2a 100644
--- a/plugins/ini/src/ini.cpp
+++ b/plugins/ini/src/ini.cpp
@@ -96,7 +96,7 @@ IniFile::load ()
{
CompString line, optionValue;
CompOption *option;
- unsigned int pos;
+ size_t pos;
while (std::getline (optionFile, line))
{
@@ -408,7 +408,7 @@ IniFile::stringToOption (CompOption *option,
if (validListItemType (type))
{
CompString listItem;
- unsigned int delim, pos = 0;
+ size_t delim, pos = 0;
CompOption::Value item;
CompOption::Value::Vector list;