summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Mangano2013-10-30 18:04:42 +0100
committerFrédéric Mangano2013-10-30 18:04:42 +0100
commitc69cac30a13379372c53af0b78e00c03ef053e3f (patch)
tree7261b0ca072ac5c46af4ff3d14fd987db233761d
parentdbaa1148bb3c3ef80b0351159ccbe4f5789542ee (diff)
downloadlastos-c69cac30a13379372c53af0b78e00c03ef053e3f.tar.gz
lastos-c69cac30a13379372c53af0b78e00c03ef053e3f.zip
mem: increment byte-wise
-rw-r--r--shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.c b/shell.c
index a7a10e2..01dded5 100644
--- a/shell.c
+++ b/shell.c
@@ -23,7 +23,7 @@ static void mem(struct irc_message *msg, void *data)
arg = hextou32(cmd + 1);
switch (*cmd) {
case '+':
- (*((uint32_t*) arg))++;
+ (*((char*) arg))++;
case '*':
irc_privmsg(dst, u32tohex(buffer, *((uint32_t*) arg)));
break;