aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/heap.cpp
diff options
context:
space:
mode:
authorMax Horn2009-02-21 21:16:41 +0000
committerMax Horn2009-02-21 21:16:41 +0000
commitff17899d8ef0a9bf82334819444646b4c323b29e (patch)
tree06289cbe5b36c014ea52dc2eb376431d6fc2c9ba /engines/sci/engine/heap.cpp
parent2acb44d1574abb831c99e11f52f6f956d40b6d8b (diff)
downloadscummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.tar.gz
scummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.tar.bz2
scummvm-rg350-ff17899d8ef0a9bf82334819444646b4c323b29e.zip
SCI: Got rid of include/scitypes.h
svn-id: r38746
Diffstat (limited to 'engines/sci/engine/heap.cpp')
-rw-r--r--engines/sci/engine/heap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/heap.cpp b/engines/sci/engine/heap.cpp
index 159d003c56..7ea0f41c2b 100644
--- a/engines/sci/engine/heap.cpp
+++ b/engines/sci/engine/heap.cpp
@@ -46,12 +46,12 @@ static void set_next(heap_t *h, int block_pos, int next) {
static unsigned int get_size(heap_t *h, int block_pos) {
assert_in_range(block_pos);
- return (guint16)getInt16(h->start + block_pos);
+ return (uint16)getInt16(h->start + block_pos);
}
static unsigned int get_next(heap_t *h, int block_pos) {
assert_in_range(block_pos);
- return (guint16)getInt16(h->start + block_pos + 2);
+ return (uint16)getInt16(h->start + block_pos + 2);
}
// Allocates a new heap