13 lines
545 B
Plaintext
13 lines
545 B
Plaintext
$OpenBSD: patch-kio_kio_ktar_cpp,v 1.1 2002/12/29 16:43:44 espie Exp $
|
|
--- kio/kio/ktar.cpp.orig Sun Dec 29 17:33:40 2002
|
|
+++ kio/kio/ktar.cpp Sun Dec 29 17:33:59 2002
|
|
@@ -474,7 +474,7 @@ void KTar::fillBuffer( char * buffer,
|
|
buffer[ 0x87 ] = ' '; // space-terminate (no null after)
|
|
|
|
// Dummy time
|
|
- s.sprintf("%lo", time( 0 ) ); // OCT
|
|
+ s.sprintf("%lo", static_cast<unsigned long>(time( 0 )) ); // OCT
|
|
s = s.rightJustify( 11, ' ' );
|
|
strcpy( buffer + 0x88, s.data() );
|
|
buffer[ 0x93 ] = ' '; // space-terminate (no null after)
|