blob: 6769382f82677e9c9ce5d5ad281c5cf9ce091662 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- src/svncpp/client_status.cpp.orig 2009-02-14 14:08:15.000000000 -0800
+++ src/svncpp/client_status.cpp 2009-05-26 18:12:04.137129866 -0700
@@ -65,17 +65,21 @@
hi != NULL;
hi = apr_hash_next(hi))
{
- char *path;
+ typedef union {
+ char *cpath;
+ void *vpath;
+ } upath;
+ upath path;
void *val;
- apr_hash_this(hi, (const void **)&path, NULL, &val);
+ apr_hash_this(hi, (const void **)&path.vpath, NULL, &val);
svn_log_changed_path_t *log_item = reinterpret_cast<svn_log_changed_path_t *>(val);
entry.changedPaths.push_back(
- LogChangePathEntry(path,
+ LogChangePathEntry(path.cpath,
log_item->action,
log_item->copyfrom_path,
- log_item->copyfrom_rev));
+ log_item->copyfrom_rev) );
}
}
|