summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_framebuffer.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 14:52:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 14:52:56 +0000
commitf66691d238faf4858c8c9f5c5a53f118a1e1ab8e (patch)
treea3f1c8e68cea0205b6f0138ab14e24960b922c1d /nuttx/arch/sim/src/up_framebuffer.c
parent5e50f40f37be6fd057b050e75aa2f4dcc9529b3c (diff)
downloadpx4-nuttx-f66691d238faf4858c8c9f5c5a53f118a1e1ab8e.tar.gz
px4-nuttx-f66691d238faf4858c8c9f5c5a53f118a1e1ab8e.tar.bz2
px4-nuttx-f66691d238faf4858c8c9f5c5a53f118a1e1ab8e.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2356 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src/up_framebuffer.c')
-rw-r--r--nuttx/arch/sim/src/up_framebuffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/up_framebuffer.c b/nuttx/arch/sim/src/up_framebuffer.c
index c7c9ee216..d71a5e9e9 100644
--- a/nuttx/arch/sim/src/up_framebuffer.c
+++ b/nuttx/arch/sim/src/up_framebuffer.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/sim/src/up_framebuffer.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
@@ -38,8 +38,8 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <debug.h>
@@ -135,7 +135,7 @@ extern int up_x11cmap(unsigned short first, unsigned short len,
/* The simulated framebuffer memory */
#ifndef CONFIG_SIM_X11FB
-static ubyte g_fb[FB_SIZE];
+static uint8_t g_fb[FB_SIZE];
#endif
/* This structure describes the simulated video controller */