summaryrefslogtreecommitdiffstats
path: root/rose
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 17:17:45 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commit7b65795b6e65c98dac38744d81a1a3a445bcf494 (patch)
tree1f7872fcfaad7bff782715bcc4eab729340707b2 /rose
parent2e3de288a69e5556f2fe2d095da67c64cf7c9ec3 (diff)
rsdwnlnk: Add cast to silence useless warning.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'rose')
-rw-r--r--rose/rsdwnlnk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rose/rsdwnlnk.c b/rose/rsdwnlnk.c
index f75fc5c..cd9d44d 100644
--- a/rose/rsdwnlnk.c
+++ b/rose/rsdwnlnk.c
@@ -258,7 +258,7 @@ int main(int argc, char **argv)
break;
}
if (buffer[0] == 0) { /* Q Bit not set */
- buffer[0] = 0xF0;
+ buffer[0] = (char) 0xF0;
write(s, buffer, n);
} else {
/* Lose the leading 0x7F */