diff options
author | Camil Staps | 2015-07-08 11:28:30 +0200 |
---|---|---|
committer | Camil Staps | 2015-07-08 12:24:04 +0200 |
commit | b417a6431e89ea4f57d48c1ca169c5cc3cc7a4cd (patch) | |
tree | 0cff25c1d87721ed43fe1ebcb3de599fde75a914 /Linux_C_12/Clean.h | |
parent | gitignore swp files (diff) |
Debugging; word sizes (Int -> pointer); fix CleanStrings
Diffstat (limited to 'Linux_C_12/Clean.h')
-rw-r--r-- | Linux_C_12/Clean.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Linux_C_12/Clean.h b/Linux_C_12/Clean.h index d92e1a0..26513a0 100644 --- a/Linux_C_12/Clean.h +++ b/Linux_C_12/Clean.h @@ -15,7 +15,7 @@ typedef struct clean_string *CleanString; #define CleanStringLength(clean_string) (*(unsigned int *)(clean_string))
/* CleanStringCharacters(clean_string) returns a pointer to the characters of the clean_string */
-#define CleanStringCharacters(clean_string) ((char*)(1+(unsigned int *)(clean_string)))
+#define CleanStringCharacters(clean_string) ((char*)(1+(unsigned int *)(clean_string))+4)
/* CleanStringSizeInts(string_length) return size of CleanString in integers */
#define CleanStringSizeInts(string_length) (1+(((unsigned int)(string_length)+3)>>2))
|