Followed a coding convention of contiki, in which cast operation should not be followed by a space char.
This commit is contained in:
parent
57bd42ac9b
commit
1a59b784b7
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the uIP TCP/IP stack.
|
* This file is part of the uIP TCP/IP stack.
|
||||||
*
|
*
|
||||||
* $Id: vnc-viewer.c,v 1.2 2007/08/30 14:39:17 matsutsuka Exp $
|
* $Id: vnc-viewer.c,v 1.3 2007/09/01 00:56:03 matsutsuka Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ vnc_viewer_connect(u16_t *server, u8_t display)
|
|||||||
vnc_draw_init();
|
vnc_draw_init();
|
||||||
|
|
||||||
memset(vs, 0, sizeof(struct vnc_viewer_state));
|
memset(vs, 0, sizeof(struct vnc_viewer_state));
|
||||||
conn = uip_connect((uip_ipaddr_t *) server, htons(5900 + display));
|
conn = uip_connect((uip_ipaddr_t *)server, htons(5900 + display));
|
||||||
if(conn == NULL) {
|
if(conn == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user