[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ntfs-cvs
Subject: [Linux-NTFS-cvs] CVS: ntfsprogs/ntfsprogs ntfsdecrypt.c,1.29,1.30 ntfsinfo.c,1.122,1.123
From: Anton Altaparmakov <antona () users ! sourceforge ! net>
Date: 2006-04-19 22:04:02
Message-ID: E1FWKmI-0007hn-Ga () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29426
Modified Files:
ntfsdecrypt.c ntfsinfo.c
Log Message:
Fix compile warnings that have sneaked in.
Index: ntfsdecrypt.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsdecrypt.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- ntfsdecrypt.c 5 Apr 2006 12:43:07 -0000 1.29
+++ ntfsdecrypt.c 19 Apr 2006 22:03:58 -0000 1.30
@@ -108,7 +108,7 @@ typedef struct {
/* DESX-MS128 implementation for libgcrypt. */
static gcry_module_t ntfs_desx_module;
-static int ntfs_desx_algorithm_id = -1;
+static unsigned ntfs_desx_algorithm_id = -1;
typedef struct {
u64 in_whitening, out_whitening;
Index: ntfsinfo.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsinfo.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -p -r1.122 -r1.123
--- ntfsinfo.c 19 Apr 2006 21:43:11 -0000 1.122
+++ ntfsinfo.c 19 Apr 2006 22:03:59 -0000 1.123
@@ -431,7 +431,7 @@ static void ntfs_dump_volume(ntfs_volume
* @type: dump flags for this attribute type
* @flags: flags for dumping
*/
-static void ntfs_dump_flags(char *indent, ATTR_TYPES type, u32 flags)
+static void ntfs_dump_flags(const char *indent, ATTR_TYPES type, u32 flags)
{
printf("%sFile attributes:\t", indent);
if (flags & FILE_ATTR_READONLY) {
@@ -506,7 +506,7 @@ static void ntfs_dump_flags(char *indent
/**
* ntfs_dump_namespace
*/
-static void ntfs_dump_namespace(char *indent, u8 file_name_type)
+static void ntfs_dump_namespace(const char *indent, u8 file_name_type)
{
const char *mbs_file_type;
@@ -665,7 +665,8 @@ static void ntfs_dump_attr_list(ATTR_REC
/**
* ntfs_dump_filename()
*/
-static void ntfs_dump_filename(char *indent, FILE_NAME_ATTR *file_name_attr)
+static void ntfs_dump_filename(const char *indent,
+ FILE_NAME_ATTR *file_name_attr)
{
printf("%sParent directory:\t %lld\n", indent,
(long long)MREF_LE(file_name_attr->parent_directory));
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-NTFS-cvs mailing list
Linux-NTFS-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-ntfs-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic