From 2a0c7510fb91ba4a11b6772a8ae72685823907f8 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" --- docs/source/lang/cpp/int.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/source/lang/cpp/int.rst') diff --git a/docs/source/lang/cpp/int.rst b/docs/source/lang/cpp/int.rst index ca75f75..3e96b69 100644 --- a/docs/source/lang/cpp/int.rst +++ b/docs/source/lang/cpp/int.rst @@ -24,6 +24,10 @@ arithmetic operations work mostly as you'd expect. There can be an dealing with the :ref:`bitshift right operator (>>) `, however. +.. _lang-long: + +The ``long`` type is a synonym for ``int``. + Here is an example of declaring an ``int`` variable named ``ledPin``, then giving it value 13:: @@ -56,8 +60,8 @@ See Also - :ref:`unsigned 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