summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorRichard Sharpe <rsharpe@samba.org>2015-05-09 16:33:10 -0700
committerJeremy Allison <jra@samba.org>2015-05-13 19:11:23 +0200
commitdffe228283ba756d4370753a1e2aed3cee3acccd (patch)
treedfb9a33ee592ce17874934a1dc44138a449b2040 /source3/lib/system.c
parentc833baa24cb87471a23b703a7576b8584129ed79 (diff)
downloadsamba-dffe228283ba756d4370753a1e2aed3cee3acccd.tar.gz
Convert all uint32/16/8 to _t in source3/lib.
Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index e933c46c306..e54b946d33c 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1217,9 +1217,9 @@ int sys_pclose(int fd)
uint32_t unix_dev_major(SMB_DEV_T dev)
{
#if defined(HAVE_DEVICE_MAJOR_FN)
- return (uint32)major(dev);
+ return (uint32_t)major(dev);
#else
- return (uint32)(dev >> 8);
+ return (uint32_t)(dev >> 8);
#endif
}
@@ -1230,9 +1230,9 @@ uint32_t unix_dev_major(SMB_DEV_T dev)
uint32_t unix_dev_minor(SMB_DEV_T dev)
{
#if defined(HAVE_DEVICE_MINOR_FN)
- return (uint32)minor(dev);
+ return (uint32_t)minor(dev);
#else
- return (uint32)(dev & 0xff);
+ return (uint32_t)(dev & 0xff);
#endif
}