diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 (GMT) |
commit | 14ece169ab027c2139918d817fc210a1ee51a4d0 (patch) | |
tree | f699af4b3f7dbbd59609288a6eda8718d56b614b /Modules/sunaudiodev.c | |
parent | 385e7c69198510a1aa3a50c82f0d458eb34cc5e6 (diff) | |
download | cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.zip cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.gz cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.bz2 |
Added some (method) casts.
Diffstat (limited to 'Modules/sunaudiodev.c')
-rw-r--r-- | Modules/sunaudiodev.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index 4902224..fad8deb 100644 --- a/Modules/sunaudiodev.c +++ b/Modules/sunaudiodev.c @@ -315,19 +315,19 @@ sad_close(self, args) } static struct methodlist sad_methods[] = { - { "read", sad_read }, - { "write", sad_write }, - { "ibufcount", sad_ibufcount }, - { "obufcount", sad_obufcount }, + { "read", (method)sad_read }, + { "write", (method)sad_write }, + { "ibufcount", (method)sad_ibufcount }, + { "obufcount", (method)sad_obufcount }, #define CTL_METHODS 4 - { "getinfo", sad_getinfo }, - { "setinfo", sad_setinfo }, - { "drain", sad_drain }, - { "flush", sad_flush }, + { "getinfo", (method)sad_getinfo }, + { "setinfo", (method)sad_setinfo }, + { "drain", (method)sad_drain }, + { "flush", (method)sad_flush }, #ifdef SOLARIS - { "getdev", sad_getdev }, + { "getdev", (method)sad_getdev }, #endif - { "close", sad_close }, + { "close", (method)sad_close }, {NULL, NULL} /* sentinel */ }; |