From 6ac6a3996313129379f6bc16e3d625a470a3f08b Mon Sep 17 00:00:00 2001 From: Eliot Blennerhassett Date: Fri, 22 Jul 2011 15:52:58 +1200 Subject: [PATCH] --- yaml --- r: 257640 b: refs/heads/master c: 3d0591eee46f1c7cdfd502c8366e5552b8cea3db h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/asihpi/hpicmn.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 901e76479d30..11a7a64d8985 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5ddc5bef5cfff111addb2b0b2967dda74a14cce4 +refs/heads/master: 3d0591eee46f1c7cdfd502c8366e5552b8cea3db diff --git a/trunk/sound/pci/asihpi/hpicmn.c b/trunk/sound/pci/asihpi/hpicmn.c index 808f18447fa9..65b7ca13115b 100644 --- a/trunk/sound/pci/asihpi/hpicmn.c +++ b/trunk/sound/pci/asihpi/hpicmn.c @@ -315,7 +315,7 @@ short hpi_check_control_cache(struct hpi_control_cache *p_cache, short found = 1; struct hpi_control_cache_info *pI; struct hpi_control_cache_single *pC; - u16 response_size; + size_t response_size; if (!find_control(phm->obj_index, p_cache, &pI)) { HPI_DEBUG_LOG(VERBOSE, "HPICMN find_control() failed for adap %d\n", @@ -532,7 +532,7 @@ short hpi_check_control_cache(struct hpi_control_cache *p_cache, pI->control_index, pI->control_type, phm->u.c.attribute); if (found) - phr->size = response_size; + phr->size = (u16)response_size; return found; }