summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-string-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-string-private.h')
-rw-r--r--dbus/dbus-string-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-string-private.h b/dbus/dbus-string-private.h
index a4b7e8c3..d26aabe1 100644
--- a/dbus/dbus-string-private.h
+++ b/dbus/dbus-string-private.h
@@ -68,7 +68,7 @@ typedef struct
* This is the maximum max length (and thus also the maximum length)
* of a DBusString
*/
-#define _DBUS_STRING_MAX_MAX_LENGTH (_DBUS_INT_MAX - _DBUS_STRING_ALLOCATION_PADDING)
+#define _DBUS_STRING_MAX_MAX_LENGTH (_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING)
/**
* Checks a bunch of assertions about a string object