projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8553013
)
Fix sign handling problem. This works, buut should probably be improved
author
charles
<charles>
Tue, 25 Nov 2008 00:29:32 +0000
(
00:29
+0000)
committer
charles
<charles>
Tue, 25 Nov 2008 00:29:32 +0000
(
00:29
+0000)
yaffs_guts.c
patch
|
blob
|
history
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index a6775a9498cae9e6870a83df509c2fd32fb61b9b..6d199656b38052f25e7f048e810bb4cdd4c3d747 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-12,7
+12,7
@@
*/
const char *yaffs_guts_c_version =
*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.6
3 2008-11-21 02:17
:32 charles Exp $";
+ "$Id: yaffs_guts.c,v 1.6
4 2008-11-25 00:29
:32 charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-4868,7
+4868,7
@@
int yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset,
nToWriteBack =
(nBytesRead >
nToWriteBack =
(nBytesRead >
- (start + n)) ? nBytesRead : (start + n);
+ (
(int)
start + n)) ? nBytesRead : (start + n);
} else {
nToCopy = dev->nDataBytesPerChunk - start;
} else {
nToCopy = dev->nDataBytesPerChunk - start;