summaryrefslogtreecommitdiff
path: root/source/intl
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-09 04:13:30 +0000
committerJeremy Allison <jra@samba.org>2002-01-09 04:13:30 +0000
commitec71f1732b6b27bd2d65b250a6f3720a235dc38d (patch)
treebaadda8a491b42ded94171e379cb832c5fcc0ccc /source/intl
parent1f12e310e5d8b01d3d29132d1bb1f41196165f7f (diff)
downloadsamba-ec71f1732b6b27bd2d65b250a6f3720a235dc38d.tar.gz
Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian
in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy.
Diffstat (limited to 'source/intl')
-rw-r--r--source/intl/lang_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/intl/lang_tdb.c b/source/intl/lang_tdb.c
index 6f9ff9dd652..7ebcc9e85e6 100644
--- a/source/intl/lang_tdb.c
+++ b/source/intl/lang_tdb.c
@@ -144,11 +144,11 @@ BOOL lang_tdb_init(const char *lang)
free(path);
- loadtime = tdb_fetch_int(tdb, "/LOADTIME/");
+ loadtime = tdb_fetch_int32(tdb, "/LOADTIME/");
if (loadtime == -1 || loadtime < st.st_mtime) {
load_msg(msg_path);
- tdb_store_int(tdb, "/LOADTIME/", (int)time(NULL));
+ tdb_store_int32(tdb, "/LOADTIME/", (int)time(NULL));
}
free(msg_path);