From db85bd1fa7ae329b8fceeefd83d02c3475fdeb0d Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Wed, 22 May 2024 14:02:34 -0400 Subject: [PATCH] we'll deal with python2 to python3 port later --- .gitignore | 2 +- channel/channelapp/source/xml.c | 12 ++++++------ channel/channelapp/stub/cache.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 460a56d..3025b3f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ *.dSYM *.pyc .DS_Store - +*.bak \ No newline at end of file diff --git a/channel/channelapp/source/xml.c b/channel/channelapp/source/xml.c index aac232c..e71c5c1 100644 --- a/channel/channelapp/source/xml.c +++ b/channel/channelapp/source/xml.c @@ -36,14 +36,14 @@ static char *_get_cdata(mxml_node_t *node) { if (!node) return NULL; - mxml_node_t *n = node->child; + // mxml_node_t *n = node->child; - while (n) { - if (n->type == MXML_OPAQUE) - return n->value.opaque; + // while (n) { + // if (n->type == MXML_OPAQUE) + // return n->value.opaque; - n = mxmlWalkNext(n, node, MXML_NO_DESCEND); - } + // n = mxmlWalkNext(n, node, MXML_NO_DESCEND); + // } return NULL; } diff --git a/channel/channelapp/stub/cache.h b/channel/channelapp/stub/cache.h index e75ac18..0e65466 100644 --- a/channel/channelapp/stub/cache.h +++ b/channel/channelapp/stub/cache.h @@ -299,8 +299,8 @@ u32 LCQueueWait(u32); void LCFlushQueue(); void LCAlloc(void *,u32); void LCAllocNoInvalidate(void *,u32); -void LCAllocOneTag(BOOL,void *); -void LCAllocTags(BOOL,void *,u32); +void LCAllocOneTag(bool,void *); +void LCAllocTags(bool,void *,u32); #define LCGetBase() ((void*)LC_BASE) #ifdef __cplusplus