Author: jra
Date: 2006-07-08 19:59:22 +0000 (Sat, 08 Jul 2006)
New Revision: 16882

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16882

Log:
Fix warning on longlong if we have it.
Jeremy.

Modified:
   trunk/source/client/clitar.c


Changeset:
Modified: trunk/source/client/clitar.c
===================================================================
--- trunk/source/client/clitar.c        2006-07-08 19:01:10 UTC (rev 16881)
+++ trunk/source/client/clitar.c        2006-07-08 19:59:22 UTC (rev 16882)
@@ -201,7 +201,11 @@
        oct_it((SMB_BIG_UINT)0, 8, hb.dbuf.uid);
        oct_it((SMB_BIG_UINT)0, 8, hb.dbuf.gid);
        oct_it((SMB_BIG_UINT) size, 13, hb.dbuf.size);
+#ifdef HAVE_LONGLONG
+       if (size > (SMB_BIG_UINT)077777777777LL) {    
+#else
        if (size > (SMB_BIG_UINT)077777777777) {    
+#endif
 
                /* This is a non-POSIX compatible extention to store files
                        greater than 8GB. */

Reply via email to