Skip to content

Commit

Permalink
fixed Python's send_num
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptival committed Nov 4, 2012
1 parent 763182a commit b272390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/kernel-template/client/msg.py-template
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def recv_fd():
return f

def send_num(n):
s = struct.pack('>B', n)
s = struct.pack('>H', n)
KCHAN.send(s)

def send_str(s):
Expand Down

0 comments on commit b272390

Please sign in to comment.