Skip to contentSkip to conversation

Fix warning differ in signedness in board/mpl/vcma9/vcma9.c

U-Boot-Users Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Sep 29, 2007 – Oct 13, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Fix warning differ in signedness in board/mpl/vcma9/vcma9.c

---

board/mpl/vcma9/vcma9.c +2 -2
index 45ab654..a4c463a 100644
@@ -288,7 +288,7 @@ int dram_init(void)
 
 int checkboard(void)
 {
-       unsigned char s[50];
+       char s[50];
        int i;
        backup_t *b = (backup_t *) s;
 
@@ -337,7 +337,7 @@ int overwrite_console(void)
 ************************************************************************/
 void print_vcma9_info(void)
 {
-       unsigned char s[50];
+       char s[50];
        int i;
 
        if ((i = getenv_r("serial#", s, 32)) < 0) {
#1 lore raw
Quoted 5 lines · In message <C323D1D3.3CE8%[email protected]> you wrote:

Hi,

Fix warning differ in signedness in board/mpl/vcma9/vcma9.c

Patch does not apply:

error: patch failed: board/mpl/vcma9/vcma9.c:288
error: board/mpl/vcma9/vcma9.c: patch does not apply Using index info to reconstruct a base tree...
error: patch failed: board/mpl/vcma9/vcma9.c:288
error: board/mpl/vcma9/vcma9.c: patch does not apply Did you hand edit your patch?
It does not apply to blobs recorded in its index. Cannot fall back to three-way merge.
Patch failed at 0001.

Applied manually.

Please make sure to check your patcehs before posting. Thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Save energy:  Drive a smaller shell.