]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - mkfs/xfs_mkfs.c
Bunch of portability related changes to xfsprogs. Includes some code to
[thirdparty/xfsprogs-dev.git] / mkfs / xfs_mkfs.c
index b89ec34e7b483ee6b7542277afbe6092fe662ff4..55b84779f10ce984e72f7dd7941b95d0714073ea 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
  * 
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of version 2 of the GNU General Public License as
@@ -2289,7 +2289,7 @@ isdigits(
        int             n = strlen(str);
 
        for (i = 0; i < n; i++) {
-               if (!isdigit(str[i]))
+               if (!isdigit((int)str[i]))
                        return 0;
        }
        return 1;