Skip to content

Commit

Permalink
Merge pull request #24 from arrbee/fix-win32
Browse files Browse the repository at this point in the history
Fix warnings and errors on win32
  • Loading branch information
Vicent Martí committed Oct 1, 2012
2 parents 5b5b25d + fa752ad commit 97f262f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions clar.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# define chdir(path) _chdir(path)
# define access(path, mode) _access(path, mode)
# define strdup(str) _strdup(str)
# define strcasecmp(a,b) _stricmp(a,b)

# ifndef __MINGW32__
# pragma comment(lib, "shell32")
Expand Down
4 changes: 2 additions & 2 deletions clar.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,13 @@ def _process_categories(self, suite_name, contents):


CLAR_FILES = {
"clar.c" : r"""eJytGmtT20jys/0rJs4FZBAEO1dXtziwlcpurqjbJZeEVLYqUCohjfEQWTIaKYFk/d+vu+ehGUmGpHb5gK2e7p7unn6O/FjkSVannD2PpeRltb84Hj62MMmr6+WqBavSTFx2YKJog0qRX/mwZVwtOoRxSVjDpzus5De1KHnK5kXJZJynl8UtMGE7T12SO/m0ultx2eIEYFnFpACA5ymfs+jDyemz6fDxwGJ9EXlafFGkDVTL3gDkgmdZvBItcArCJXqHAWwgcs6i31+cnEYvX7IoSlKeZM4SihOsQOcQvo5Z5D83eMtPwFgvLIuUA2oDcvCShQWyyHloMOIk4VL6rLowV8IyrVcBfJB49gGVEPOcbBj9fnL6nw/PplEEwMGqjK+WMUuK5ZLnVQCeELIRmevZdIScHdZ5sroLqiJk87JYhqwqIim+gkh6KZK0qMEGKzp7+/705YuzX11mH6LX/2UHUwfyLjp598vJ2+B2zILglm2xCCCvADJmj47YgSdJvgJXrCJ+E1zW81B+DefLKozDS9RZrc1BFr1m97dYwIpnkvdyNF/niJSnYj4coG+i4UDLOqnUqbN3Zy/OorPZ8LHm5Lntl1igUzGIAPy6EmkwHZPTN3h1LiBWlD+2PM85zh652vK0xCGZ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fBvEdf+L5QyCnp5B2PfPXD+TXQP5hoMzJJl52uTdJDkRcdHODHAjvSWRUTJiO0gD0M7SIkaoU6cNvttFMCryf+WNtP+Z/AaQwXp0="""
}
if __name__ == '__main__':
Expand Down
6 changes: 4 additions & 2 deletions clar_categorize.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ static void clar_category_add_to_list(clar_category_list *list, const char *cat)

if (list->count >= list->alloc) {
list->alloc += 10;
list->names = realloc(list->names, list->alloc * sizeof(const char *));
list->names = (const char **)realloc(
(void *)list->names, list->alloc * sizeof(const char *));
}

list->names[list->count++] = cat;
Expand Down Expand Up @@ -56,7 +57,8 @@ static void clar_category_print_enabled(const char *prefix)
{
int i;

qsort(_clar_categorize_enabled.names, _clar_categorize_enabled.count,
qsort((void *)_clar_categorize_enabled.names,
_clar_categorize_enabled.count,
sizeof(const char *), clar_category_cmp);

for (i = 0; i < _clar_categorize_enabled.count; ++i)
Expand Down

0 comments on commit 97f262f

Please sign in to comment.