]> arthur.barton.de Git - netatalk.git/blobdiff - bin/psorder/psorder.c
remove gcc warnings and cleanup inline mess
[netatalk.git] / bin / psorder / psorder.c
index 7ba4332f9eedfe3e4258189f68428cb562806cc2..450c8ee313f8d67f65d468c9a21fa12f787d81b8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: psorder.c,v 1.5 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: psorder.c,v 1.5.16.1 2008-11-25 15:16:31 didg Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
@@ -151,7 +151,7 @@ filesetup( inputfile, infd, tfile, tfd )
        make temporary file
  */
 
-    (void *)strncpy( tfile, template, MAXNAMLEN );
+    strncpy( tfile, template, MAXNAMLEN );
     if (( *tfd = mkstemp( tfile )) == -1 ) {
        fprintf( stderr, "can't create temporary file %s\n", tfile );
        filecleanup( -1, -1, "" );