projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More compilation clean up
[yaffs2.git]
/
yaffs_getblockinfo.h
diff --git
a/yaffs_getblockinfo.h
b/yaffs_getblockinfo.h
index 8fd0802bdddbfc4721eb1b29effd099c472710fb..09b5a166fc9be9b31c76ccbfd345f33b4bc93cb8 100644
(file)
--- a/
yaffs_getblockinfo.h
+++ b/
yaffs_getblockinfo.h
@@
-23,7
+23,8
@@
static inline struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev
*dev, int blk)
{
static inline struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev
*dev, int blk)
{
- if (blk < dev->internal_start_block || blk > dev->internal_end_block) {
+ if (blk < (int)dev->internal_start_block ||
+ blk > (int)dev->internal_end_block) {
yaffs_trace(YAFFS_TRACE_ERROR,
"**>> yaffs: get_block_info block %d is not valid",
blk);
yaffs_trace(YAFFS_TRACE_ERROR,
"**>> yaffs: get_block_info block %d is not valid",
blk);