aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/cpp/variables.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
commit9768ee6b2f60442676613c154ad784b30191711c (patch)
treebef1b50fde1ea3eafc89124b31dae82979ca8d14 /source/lang/cpp/variables.rst
parent9ea60c7e7dffd06791ec2dc62ffab3f2bf802f08 (diff)
downloadlibrambutan-9768ee6b2f60442676613c154ad784b30191711c.tar.gz
librambutan-9768ee6b2f60442676613c154ad784b30191711c.zip
Fixed docs bug where we say "long" when we mean "long long"
Diffstat (limited to 'source/lang/cpp/variables.rst')
-rw-r--r--source/lang/cpp/variables.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lang/cpp/variables.rst b/source/lang/cpp/variables.rst
index e6da0c9..336d5ab 100644
--- a/source/lang/cpp/variables.rst
+++ b/source/lang/cpp/variables.rst
@@ -44,7 +44,7 @@ Here are a few examples of declaring variables of different types::
int lightSensVal;
char currentLetter;
- unsigned long speedOfLight = 186000UL;
+ unsigned long long speedOfLight = 186000ULL;
char errorMessage = {"choose another option"}; // see string
Naming Variables