• S
    es1370: Fix debug code · f8687bab
    Stefan Weil 提交于
    When DEBUG_ES1370 is defined, the compiler shows these warnings:
    
    hw/es1370.c: In function ?es1370_update_voices?:
    hw/es1370.c:414: warning: format ?%d? expects type ?int?, but argument 3 has type ?size_t?
    hw/es1370.c: In function ?es1370_writel?:
    hw/es1370.c:582: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
    hw/es1370.c:592: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
    hw/es1370.c:609: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
    hw/es1370.c: In function ?es1370_readl?:
    hw/es1370.c:751: warning: suggest braces around empty body in an ?if? statement
    
    Fix the format strings and add the missing braces.
    Signed-off-by: NStefan Weil <sw@weilnetz.de>
    Signed-off-by: Nmalc <av1474@comtv.ru>
    f8687bab
es1370.c 29.8 KB