diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-11-04 16:36:21 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-11-04 16:36:21 +0000 |
commit | db77afdbde30d91a64707ef94627cf00938b2664 (patch) | |
tree | da7d141c9bc61fe02fd410808cf571ce0a9a4b1b /xpp/fpga_load.c | |
parent | 746ff447145a44ea0a8898677be4227bb93a2834 (diff) |
Compilation and documentation fixes from trunk
Merged revisions 6842,6898,6902,6976,7131 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r6842 | tzafrir | 2009-07-16 13:19:23 +0300 (Thu, 16 Jul 2009) | 2 lines
Document attributes of a Dahdi::Xpp::Xpd object.
........
r6898 | dbrooks | 2009-07-27 22:54:13 +0300 (Mon, 27 Jul 2009) | 6 lines
Replaces typos "recieved" with "received" and "initilize" with "initialize".
(closes issue #15571)
Reported by: alecdavis
........
r6902 | seanbright | 2009-07-28 00:05:16 +0300 (Tue, 28 Jul 2009) | 11 lines
Pass correct channel number to DAHDI_GET_PARAMS when passing span numbers to dahdi_scan.
When filtering, we weren't taking into account the number of channels in the spans that
we were skipping.
(closes issue #15553)
Reported by: tony
Patches:
20090723_issue15553.patch uploaded by seanbright (license 71)
Tested by: seanbright
........
r6976 | tzafrir | 2009-08-12 22:21:01 +0300 (Wed, 12 Aug 2009) | 4 lines
xpp: cleanup gcc warnings and one real astribank_tool bug
xpp rev: 7281
........
r7131 | tzafrir | 2009-09-15 19:52:58 +0300 (Tue, 15 Sep 2009) | 7 lines
Add a missing trailing slash on the install-libs target
(closes issue #15793)
Reported by: pprindeville
Patches:
dahdi-tools-makefile.patch uploaded by pprindeville (license 347)
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7471 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/fpga_load.c')
-rw-r--r-- | xpp/fpga_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/fpga_load.c b/xpp/fpga_load.c index d99e3e7..bc32422 100644 --- a/xpp/fpga_load.c +++ b/xpp/fpga_load.c @@ -210,7 +210,7 @@ struct usb_device *dev_of_path(const char *path) return NULL; } /* Find last '/' */ - if((p = memrchr(path, '/', strlen(path))) == NULL) { + if((p = (const char *)memrchr(path, '/', strlen(path))) == NULL) { ERR("Missing a '/' in %s\n", path); return NULL; } @@ -221,7 +221,7 @@ struct usb_device *dev_of_path(const char *path) return NULL; } /* Search for a '/' before that */ - p = memrchr(path, '/', p - path); + p = (const char *)memrchr(path, '/', p - path); if(p == NULL) p = path; /* Relative path */ else |