summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-03 11:50:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:26 -0500
commited4913d45d07c754f8d3eb971af5af80c725240a (patch)
treeb4a2132d61f2931fda766f1df31dde86dddf5c93 /source4/scripting
parent40d70b92e0d0ec5d29d975c49a4ca7a62f592f17 (diff)
downloadsamba-ed4913d45d07c754f8d3eb971af5af80c725240a.tar.gz
samba-ed4913d45d07c754f8d3eb971af5af80c725240a.tar.bz2
samba-ed4913d45d07c754f8d3eb971af5af80c725240a.zip
r9990: Fix some 64-bit size_t warnings.
(This used to be commit dd148451d7d554dc0b102023e6a22439fd3b4b81)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/smbcalls_data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/ejs/smbcalls_data.c b/source4/scripting/ejs/smbcalls_data.c
index a3501b7d31..4859de94d7 100644
--- a/source4/scripting/ejs/smbcalls_data.c
+++ b/source4/scripting/ejs/smbcalls_data.c
@@ -191,7 +191,7 @@ static int ejs_regToVar(MprVarHandle eid, int argc, struct MprVar **argv)
case REG_DWORD: {
if (blob->length != 4) {
- ejsSetErrorMsg(eid, "regToVar invalid REG_DWORD length %d", blob->length);
+ ejsSetErrorMsg(eid, "regToVar invalid REG_DWORD length %ld", (long)blob->length);
return -1;
}
v = mprCreateNumberVar(IVAL(blob->data, 0));
@@ -200,7 +200,7 @@ static int ejs_regToVar(MprVarHandle eid, int argc, struct MprVar **argv)
case REG_DWORD_BIG_ENDIAN: {
if (blob->length != 4) {
- ejsSetErrorMsg(eid, "regToVar invalid REG_DWORD_BIG_ENDIAN length %d", blob->length);
+ ejsSetErrorMsg(eid, "regToVar invalid REG_DWORD_BIG_ENDIAN length %ld", (long)blob->length);
return -1;
}
v = mprCreateNumberVar(RIVAL(blob->data, 0));
@@ -209,7 +209,7 @@ static int ejs_regToVar(MprVarHandle eid, int argc, struct MprVar **argv)
case REG_QWORD: {
if (blob->length != 8) {
- ejsSetErrorMsg(eid, "regToVar invalid REG_QWORD length %d", blob->length);
+ ejsSetErrorMsg(eid, "regToVar invalid REG_QWORD length %ld", (long)blob->length);
return -1;
}
v = mprCreateNumberVar(BVAL(blob->data, 0));