Author: rmottola
Date: Mon Nov 24 10:56:52 2014
New Revision: 38199
URL: http://svn.gna.org/viewcvs/gnustep?rev=38199&view=rev
Log:
minor warning fixes for NSInteger / %ld printout cast
Modified:
libs/webservices/trunk/GWSHash.m
Modified: libs/webservices/trunk/GWSHash.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/GWSHash.m?rev=38199&r1=38198&r2=38199&view=diff
==============================================================================
--- libs/webservices/trunk/GWSHash.m (original)
+++ libs/webservices/trunk/GWSHash.m Mon Nov 24 10:56:52 2014
@@ -1,5 +1,5 @@
/**
- Copyright (C) 2013 Free Software Foundation, Inc.
+ Copyright (C) 2013-2014 Free Software Foundation, Inc.
Written by: Niels Grewe <[email protected]>
Date: May 2013
@@ -508,7 +508,7 @@
return nil;
}
NSDebugFLog(@"Created the following string to hash: %@ "
- @"(plus %ld characters from secret string)", output, [extra length]);
+ @"(plus %ld characters from secret string)", output, (long
int)[extra length]);
[output appendString: extra];
return output;
}
@@ -609,7 +609,7 @@
|| HASH_LENGTH_MATCH(theHash, method, kGWSHashSMD5, 32)))
{
NSDebugMLog(@"Length of hash (%ld) invalid for %@",
- [theHash length], algorithm);
+ (long int)[theHash length], algorithm);
[self release];
return nil;
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs