Skip to content

Commit

Permalink
fixup includes, use uint8_t in key.hpp instead of Uint8
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 19, 2014
1 parent cec386a commit 871f2f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/key.cpp
Expand Up @@ -16,6 +16,9 @@
#include "key.hpp"
#include "sdl/compat.hpp"

#include <SDL_keyboard.h>
#include <SDL_version.h>

CKey::CKey() :
key_list(SDL_GetKeyState(NULL))
{
Expand Down
4 changes: 2 additions & 2 deletions src/key.hpp
Expand Up @@ -15,7 +15,7 @@
#ifndef KEY_HPP_INCLUDED
#define KEY_HPP_INCLUDED

#include "SDL.h"
#include <inttypes.h>

/**
* Class that keeps track of all the keys on the keyboard.
Expand All @@ -26,7 +26,7 @@
*/
class CKey
{
const Uint8 *key_list;
const uint8_t *key_list;

public:
CKey();
Expand Down

0 comments on commit 871f2f4

Please sign in to comment.