summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/devdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devdraw.c b/sys/src/9/port/devdraw.c
index 30258376f..ffb3bdfba 100644
--- a/sys/src/9/port/devdraw.c
+++ b/sys/src/9/port/devdraw.c
@@ -1465,7 +1465,7 @@ drawmesg(Client *client, void *av, int n)
if(n < m)
error(Eshortdraw);
dstid = BGLONG(a+1);
- scrnid = BGSHORT(a+5);
+ scrnid = BGLONG(a+5);
refresh = a[9];
chan = BGLONG(a+10);
repl = a[14];