summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxmu/nx_eventhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxmu/nx_eventhandler.c')
-rw-r--r--nuttx/graphics/nxmu/nx_eventhandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/graphics/nxmu/nx_eventhandler.c b/nuttx/graphics/nxmu/nx_eventhandler.c
index 2b7891766..a8b97ffbb 100644
--- a/nuttx/graphics/nxmu/nx_eventhandler.c
+++ b/nuttx/graphics/nxmu/nx_eventhandler.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxmu/nx_eventhandler.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <stdlib.h>
#include <mqueue.h>
#include <assert.h>
@@ -135,7 +135,7 @@ int nx_eventhandler(NXHANDLE handle)
FAR struct nxfe_conn_s *conn = (FAR struct nxfe_conn_s *)handle;
struct nxsvrmsg_s *msg;
struct nxbe_window_s *wnd;
- ubyte buffer[NX_MXCLIMSGLEN];
+ uint8_t buffer[NX_MXCLIMSGLEN];
int nbytes;
/* Get the next message from our incoming message queue */