From patchwork Tue Apr 10 14:43:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 151605 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 95DD7B7021 for ; Wed, 11 Apr 2012 00:43:04 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SHcHf-0005wl-6q for incoming@patchwork.ozlabs.org; Tue, 10 Apr 2012 14:43:03 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SHcHc-0005wg-Tt for fwts-devel@lists.ubuntu.com; Tue, 10 Apr 2012 14:43:01 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SHcHc-00050f-Qn for fwts-devel@lists.ubuntu.com; Tue, 10 Apr 2012 14:43:00 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] lib: fwts_framework: use size_t instead of int Date: Tue, 10 Apr 2012 15:43:00 +0100 Message-Id: <1334068980-3732-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.9.1 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- src/lib/src/fwts_framework.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c index e5be69d..0d0911b 100644 --- a/src/lib/src/fwts_framework.c +++ b/src/lib/src/fwts_framework.c @@ -786,7 +786,7 @@ static void fwts_framework_heading_info(fwts_framework *fw, fwts_list *tests_to_ time_t now; struct utsname buf; char *tests = NULL; - int len = 1; + size_t len = 1; int i; fwts_list_link *item;