aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/cpp/variables.rst
diff options
context:
space:
mode:
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