diff options
author | Phong Tran <tranmanphong@gmail.com> | 2019-04-17 22:58:40 +0700 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-04-23 09:06:33 +0000 |
commit | 13457f6458e1f604e437ce7a9a680c8703078fbf (patch) | |
tree | c4bcd2199251db1785fedb4430bfae1c9edf165b /bindings/samples/tic-tac-toe.c | |
parent | 78fcce21a8b611de175223bff67f4a49fa95e64e (diff) |
samples: wrong parameter for get_new_board()
for fixing
warning: too many arguments in call to 'get_new_board'
Change-Id: I7b3d175310156ea3d2efed29e344f01c9904d534
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Diffstat (limited to 'bindings/samples/tic-tac-toe.c')
-rw-r--r-- | bindings/samples/tic-tac-toe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/samples/tic-tac-toe.c b/bindings/samples/tic-tac-toe.c index f8bf6219..2cac6f63 100644 --- a/bindings/samples/tic-tac-toe.c +++ b/bindings/samples/tic-tac-toe.c @@ -470,7 +470,7 @@ static void join(afb_req_t req) /* none is a special id for joining a new session */ if (strcmp(id, "none") == 0) { - new_board = get_new_board(req); + new_board = get_new_board(); goto setctx; } |