aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Vogt <gitwiresharktv@ist-einmalig.de>2020-09-25 15:29:14 +0000
committerThomas Vogt <gitwiresharktv@ist-einmalig.de>2020-09-25 15:29:14 +0000
commitacdaf3363069f503cb76c233960e7e8bea368597 (patch)
tree16423f3c32f116731cd6f5377f1f80f680140793 /doc
parent6f49de2e652476141bfff74e0ac699adf150a037 (diff)
README.developer: Fix some quotation marks around function names
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 8c283f1cf4..5d8ff018ad 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -277,10 +277,10 @@ Don't use "index()" or "rindex()"; instead, use the ANSI C equivalents,
"index()" or "rindex()", and those that do might not declare them in the
header file on which they're declared on your platform.
-Don't use "tvb_get_ptr(). If you must use it, keep in mind that the pointer
+Don't use "tvb_get_ptr()". If you must use it, keep in mind that the pointer
returned by a call to "tvb_get_ptr()" is not guaranteed to be aligned on any
particular byte boundary; this means that you cannot safely cast it to any
-data type other than a pointer to "char", unsigned char", "guint8", or other
+data type other than a pointer to "char", "unsigned char", "guint8", or other
one-byte data types. Casting a pointer returned by tvb_get_ptr() into any
multi-byte data type or structure may cause crashes on some platforms (even
if it does not crash on x86-based PCs). Even if such mis-aligned accesses