mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Unbreak under clang.
- non void functions have to return something.
This commit is contained in:
parent
aba5d160e8
commit
16ef5572bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276754
11
textproc/cwtext/files/patch-pcm.c
Normal file
11
textproc/cwtext/files/patch-pcm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- pcm.c.orig 2011-06-30 18:51:13.000000000 -0400
|
||||
+++ pcm.c 2011-06-30 18:51:47.000000000 -0400
|
||||
@@ -60,7 +60,7 @@
|
||||
float samples;
|
||||
float fsr;
|
||||
|
||||
- if (!valid(hVox)) return;
|
||||
+ if (!valid(hVox)) return(0);
|
||||
|
||||
timelen = (float) time;
|
||||
fsr = (float) voxref(hVox).samplerate;
|
Loading…
Reference in New Issue
Block a user