From 9768ee6b2f60442676613c154ad784b30191711c Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 9 Feb 2011 21:10:34 -0500 Subject: Fixed docs bug where we say "long" when we mean "long long" --- source/lang/cpp/unsignedint.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/lang/cpp/unsignedint.rst') diff --git a/source/lang/cpp/unsignedint.rst b/source/lang/cpp/unsignedint.rst index f6311da..ad3e2f2 100644 --- a/source/lang/cpp/unsignedint.rst +++ b/source/lang/cpp/unsignedint.rst @@ -31,6 +31,10 @@ that an ``unsigned int`` will "underflow" at 0, and "overflow" at x--; // x now contains 4,294,967,295; rolled over "left to right" x++; // x now contains 0; rolled over "right to left" +.. _lang-unsignedlong: + +The ``unsigned long`` type is a synonym for ``unsigned int``. + Here is an example of declaring an ``unsigned int`` variable named ``ledPin``, then giving it value 13:: @@ -47,8 +51,8 @@ See Also - :ref:`int ` - :ref:`char ` - :ref:`unsigned char ` -- :ref:`long ` -- :ref:`unsigned long ` +- :ref:`long long ` +- :ref:`unsigned long long ` - :ref:`Integer Constants ` - :ref:`Variables ` -- cgit v1.2.3