aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/e-contact-print.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-10-27 05:27:10 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-10-27 05:27:10 +0800
commit9c96b4fd8e68060e3eb7e3f61e0021140c068ef7 (patch)
tree8bbf8c22f5147f5768bf43d7dfaa9037685b17d6 /addressbook/printing/e-contact-print.c
parent74c9e1118fdded8db3cf6e84478b2a23f1f13c0e (diff)
downloadgsoc2013-evolution-9c96b4fd8e68060e3eb7e3f61e0021140c068ef7.tar.gz
gsoc2013-evolution-9c96b4fd8e68060e3eb7e3f61e0021140c068ef7.tar.zst
gsoc2013-evolution-9c96b4fd8e68060e3eb7e3f61e0021140c068ef7.zip
unsigned charness.
2000-10-26 Michael Meeks <michael@helixcode.com> * printing/e-contact-print.c (e_contact_print_letter_tab), (complete_sequence, e_contact_do_print_phone_list, lowify): unsigned charness. svn path=/trunk/; revision=6213
Diffstat (limited to 'addressbook/printing/e-contact-print.c')
-rw-r--r--addressbook/printing/e-contact-print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index f2cf9ac8f0..337f0f2007 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -315,7 +315,7 @@ e_contact_get_letter_tab_width (EContactPrintContext *ctxt)
static double
e_contact_print_letter_tab (EContactPrintContext *ctxt)
{
- char character;
+ unsigned char character;
gdouble x, y;
gdouble page_width = 72 * (ctxt->style->page_width - ctxt->style->left_margin - ctxt->style->right_margin);
gdouble tab_height, tab_width;
@@ -518,7 +518,7 @@ complete_sequence(EBookView *book_view, EContactPrintContext *ctxt)
for(; cards; cards = cards->next) {
ECard *card = cards->data;
ECardSimple *simple = e_card_simple_new(card);
- gchar *file_as;
+ guchar *file_as;
gtk_object_get(GTK_OBJECT(card),
"file_as", &file_as,
@@ -735,7 +735,7 @@ e_contact_do_print_phone_list (EBook *book, char *query, EContactPrintContext *c
for(card = e_book_get_first(book); card; card = e_book_get_next(book)) {
*/
for (i=0; i < 30; i++) {
- gchar *file_as = e_card_get_string_fileas(card);
+ guchar *file_as = e_card_get_string_fileas(card);
if ( file_as && (!character || *character != tolower(*file_as)) ) {
if (ctxt->style->sections_start_new_page && ! first_contact) {
e_contact_start_new_page(ctxt);
@@ -789,7 +789,7 @@ e_contact_do_print (EBook *book, char *query, EContactPrintContext *ctxt)
static void lowify( char *data )
{
for ( ; *data; data++ )
- *data = tolower(*data);
+ *data = tolower((unsigned char) *data);
}
static gboolean get_bool( char *data )