Skip to content

Commit 7184ba9

Browse files
committed
* readprefs.c: added a comment for the latest change.
1 parent c416170 commit 7184ba9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/readprefs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ char ReadPrefs(void)
107107

108108
if((rda = AllocDosObject(DOS_RDARGS, TAG_DONE)) != NULL)
109109
{
110+
// cast string pointer to 'void *' to avoid warnings due to different definitions of CS_Buffer in different SDKs
110111
rda->RDA_Source.CS_Buffer = (void *)prefs;
111112
rda->RDA_Source.CS_Length = strlen(prefs);
112113
rda->RDA_Source.CS_CurChr = 0;
@@ -138,7 +139,7 @@ char ReadPrefs(void)
138139

139140
if(Results[VERSION])
140141
CatVersion = Results[VERSION];
141-
142+
142143
if(Results[REVISION])
143144
CatRevision = Results[REVISION];
144145

0 commit comments

Comments
 (0)