Fix two minor compilation warnings.
author |
zas_ |
date |
Sat, 20 Dec 2008 21:47:04 +0000 |
parents |
d79305a42a9b |
children |
c45cc5cf3c4d |
files |
src/exiv2.cc src/filefilter.c |
diffstat |
2 files changed, 1 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/src/exiv2.cc Sat Dec 20 21:30:27 2008 +0000
+++ b/src/exiv2.cc Sat Dec 20 21:47:04 2008 +0000
@@ -749,7 +749,6 @@
try {
const GList *work = values;
- Exiv2::Metadatum *item = NULL;
try {
Exiv2::ExifKey ekey(key);
--- a/src/filefilter.c Sat Dec 20 21:30:27 2008 +0000
+++ b/src/filefilter.c Sat Dec 20 21:47:04 2008 +0000
@@ -471,7 +471,7 @@
if (quoted)
value = quoted_value(text, NULL);
else
- value = text;
+ value = (gchar *) text;
if (value == NULL) return;