[gnumeric] Compilation: fix warning.



commit a7bab2f3c91299135536c42686ae82507e1d41da
Author: Morten Welinder <terra gnome org>
Date:   Sat Jan 3 10:05:14 2015 -0500

    Compilation: fix warning.

 plugins/excel/ms-excel-read.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index ceb8082..4952f55 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -4730,7 +4730,7 @@ excel_read_MULRK (BiffQuery *q, ExcelReadSheet *esheet)
        lastcol = GSF_LE_GET_GUINT16 (q->data + q->length - 2);
 
        XL_CHECK_CONDITION (lastcol >= col);
-       XL_CHECK_CONDITION (lastcol < gnm_sheet_get_max_cols (esheet->sheet));
+       XL_CHECK_CONDITION (lastcol < (guint32)gnm_sheet_get_max_cols (esheet->sheet));
 
        if (q->length != 4 + 6 * (lastcol - col + 1) + 2) {
                int guess = col + (q->length - (4 + 2)) / 6 - 1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]