summaryrefslogtreecommitdiff
path: root/src/tileset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tileset.h b/src/tileset.h
index 9e0bf936..4ba9f016 100644
--- a/src/tileset.h
+++ b/src/tileset.h
@@ -30,7 +30,8 @@
class Tileset : public ImageSet
{
public:
- Tileset(Image *img, int w, int h, int firstGid, int margin, int spacing):
+ Tileset(Image *img, int w, int h, unsigned firstGid,
+ int margin, int spacing):
ImageSet(img, w, h, margin, spacing),
mFirstGid(firstGid)
{
@@ -39,13 +40,13 @@ class Tileset : public ImageSet
/**
* Returns the first gid.
*/
- int getFirstGid() const
+ unsigned getFirstGid() const
{
return mFirstGid;
}
private:
- int mFirstGid;
+ unsigned mFirstGid;
};
#endif // TILESET_H