Skip to content

Commit

Permalink
all compiler warnings gone
Browse files Browse the repository at this point in the history
  • Loading branch information
mittelmark committed Aug 2, 2024
1 parent e4ff27f commit 2d43fcc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Author : $Author: jon $
* Created By : Jon Green
* Created : Fri Oct 23 22:00:08 2009
* Last Modified : <091109.2214>
* Last Modified : <240802.0909>
*
* Description
*
Expand Down
2 changes: 1 addition & 1 deletion src/bfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Author : $Author: jon $
* Created By : Jon Green
* Created : Fri Oct 23 22:01:33 2009
* Last Modified : <091213.1904>
* Last Modified : <240802.0909>
*
* Description : This API provides access to the BFS file system when
* compiled into a programme.
Expand Down
2 changes: 1 addition & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ getFileStats(meUByte *file, int flag, meStat *stats, meUByte *lname)
stats->stmtime = bfs_statbuf.st_utc_mtime;
#endif
#ifdef _UNIX
stats->stdev = (int) bfsdev;
stats->stdev = meIntFromPtr(bfsdev);
stats->stino = (meUInt) bfs_statbuf.st_bno;
stats->stmode |= S_IRGRP|S_IROTH|S_IRUSR;
if (file_type == meFILETYPE_REGULAR)
Expand Down
2 changes: 1 addition & 1 deletion src/unixterm.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ meSetupPathsAndUser(char *progname)
/* Initialise the built-in file system. Note for speed we only check the
* header. Scope the "exepath" locally so it is discarded once the
* pathname is passed to the mount and we exit the braces. */
bfsdev = bfs_mount (meProgName, BFS_CHECK_HEAD);
bfsdev = bfs_mount ((char *) meProgName, BFS_CHECK_HEAD);
#endif

if((meUserName == NULL) &&
Expand Down

0 comments on commit 2d43fcc

Please sign in to comment.