- s/u_int64_t/guint64/
This commit is contained in:
@@ -58,10 +58,10 @@ To look up an entry, use the `glibtop_inodedb_lookup ()' function:
|
||||
|
||||
const char *
|
||||
glibtop_inodedb_lookup (glibtop_inodedb *inodedb,
|
||||
u_int64_t device, u_int64_t inode)
|
||||
guint64 device, guint64 inode)
|
||||
const char *
|
||||
glibtop_inodedb_lookup_s (glibtop *server, glibtop_inodedb *inodedb,
|
||||
u_int64_t device, u_int64_t inode)
|
||||
guint64 device, guint64 inode)
|
||||
|
||||
It will either return a pointer to the filename - which you have to
|
||||
`g_free ()' once done with it - or NULL on error.
|
||||
|
||||
@@ -75,8 +75,8 @@ main (int argc, char *argv [])
|
||||
d_content.dptr = dirname;
|
||||
d_content.dsize = strlen (dirname) + 1;
|
||||
|
||||
key.device = (u_int64_t) statb.st_dev;
|
||||
key.inode = (u_int64_t) statb.st_ino;
|
||||
key.device = (guint64) statb.st_dev;
|
||||
key.inode = (guint64) statb.st_ino;
|
||||
|
||||
if (gdbm_store (dbf, d_key, d_content, GDBM_REPLACE))
|
||||
glibtop_error_io ("gdbm_store (%s)", dirname);
|
||||
@@ -113,8 +113,8 @@ main (int argc, char *argv [])
|
||||
d_content.dptr = filename;
|
||||
d_content.dsize = strlen (filename) + 1;
|
||||
|
||||
key.device = (u_int64_t) statb.st_dev;
|
||||
key.inode = (u_int64_t) statb.st_ino;
|
||||
key.device = (guint64) statb.st_dev;
|
||||
key.inode = (guint64) statb.st_ino;
|
||||
|
||||
if (gdbm_store (dbf, d_key, d_content, GDBM_REPLACE))
|
||||
glibtop_error_io ("gdbm_store (%s)", filename);
|
||||
|
||||
Reference in New Issue
Block a user