]> git.samba.org - nivanova/samba-autobuild/.git/commitdiff
s3:net registry: fix output of dwords with sign bit set
authorGregor Beck <gbeck@sernet.de>
Mon, 7 May 2012 13:48:16 +0000 (15:48 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jun 2012 17:57:18 +0000 (19:57 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/utils/net_registry_util.c

index 22cb3a55b1ca33f6fc6a1bf7c4c13f8f154e0b88..2020a0a47372c120fe4f15f5fe027748b58d00db 100644 (file)
@@ -58,7 +58,7 @@ void print_registry_value(const struct registry_value *valvalue, bool raw)
                if (!raw) {
                        d_printf(_("Value      = "));
                }
-               d_printf("%d\n", v);
+               d_printf("%u\n", v);
                break;
        }
        case REG_SZ: