Ticket #12826: 0013-multi.cpp-Fix-clang-warnings.patch

File 0013-multi.cpp-Fix-clang-warnings.patch, 1.1 KB (added by mt, 8 years ago)
  • src/add-ons/kernel/drivers/audio/echo/multi.cpp

    From 7861957ba1603f6612cc8e6e433d65ff22a4b7e1 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Wed, 22 Jun 2016 06:22:40 +0900
    Subject: [PATCH 13/13] multi.cpp: Fix clang warnings.
    
    ---
     src/add-ons/kernel/drivers/audio/echo/multi.cpp | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/add-ons/kernel/drivers/audio/echo/multi.cpp b/src/add-ons/kernel/drivers/audio/echo/multi.cpp
    index 9388550..6b5dfcd 100644
    a b static status_t  
    251251echo_get_mix(echo_dev *card, multi_mix_value_info * mmvi)
    252252{
    253253    int32 i;
    254     uint32 id;
     254    int32 id;
    255255    multi_mixer_control *control = NULL;
    256256    for (i = 0; i < mmvi->item_count; i++) {
    257257        id = mmvi->values[i].id - MULTI_CONTROL_FIRSTID;
    static status_t  
    293293echo_set_mix(echo_dev *card, multi_mix_value_info * mmvi)
    294294{
    295295    int32 i;
    296     uint32 id;
     296    int32 id;
    297297    multi_mixer_control *control = NULL;
    298298    for (i = 0; i < mmvi->item_count; i++) {
    299299        id = mmvi->values[i].id - MULTI_CONTROL_FIRSTID;