Batch of correction to lower the number of GCC warnings

This commit is contained in:
Hombre
2010-08-29 02:25:59 +02:00
parent 6da0cf6792
commit 02dac0425d
40 changed files with 936 additions and 923 deletions

View File

@@ -26,22 +26,24 @@ struct IptcPair {
Glib::ustring field;
};
const IptcPair strTags[] = {IPTC_TAG_CAPTION, 2000, "Caption",
IPTC_TAG_WRITER_EDITOR, 32, "CaptionWriter",
IPTC_TAG_HEADLINE, 256, "Headline",
IPTC_TAG_SPECIAL_INSTRUCTIONS, 256, "Instructions",
IPTC_TAG_CATEGORY, 3, "Category",
IPTC_TAG_BYLINE, 32, "Author",
IPTC_TAG_BYLINE_TITLE, 32, "AuthorsPosition",
IPTC_TAG_CREDIT, 32, "Credit",
IPTC_TAG_SOURCE, 32, "Source",
IPTC_TAG_COPYRIGHT_NOTICE, 128, "Copyright",
IPTC_TAG_CITY, 32, "City",
IPTC_TAG_STATE, 32, "Province",
IPTC_TAG_COUNTRY_NAME, 64, "Country",
IPTC_TAG_OBJECT_NAME, 64, "Title",
IPTC_TAG_ORIG_TRANS_REF, 32, "TransReference",
IPTC_TAG_DATE_CREATED, 8, "DateCreated"};
const IptcPair strTags[] = {
{IPTC_TAG_CAPTION, 2000, "Caption"},
{IPTC_TAG_WRITER_EDITOR, 32, "CaptionWriter"},
{IPTC_TAG_HEADLINE, 256, "Headline"},
{IPTC_TAG_SPECIAL_INSTRUCTIONS, 256, "Instructions"},
{IPTC_TAG_CATEGORY, 3, "Category"},
{IPTC_TAG_BYLINE, 32, "Author"},
{IPTC_TAG_BYLINE_TITLE, 32, "AuthorsPosition"},
{IPTC_TAG_CREDIT, 32, "Credit"},
{IPTC_TAG_SOURCE, 32, "Source"},
{IPTC_TAG_COPYRIGHT_NOTICE, 128, "Copyright"},
{IPTC_TAG_CITY, 32, "City"},
{IPTC_TAG_STATE, 32, "Province"},
{IPTC_TAG_COUNTRY_NAME, 64, "Country"},
{IPTC_TAG_OBJECT_NAME, 64, "Title"},
{IPTC_TAG_ORIG_TRANS_REF, 32, "TransReference"},
{IPTC_TAG_DATE_CREATED, 8, "DateCreated"}
};
#endif