Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Mine
Sunday, October 29th, 2006 at 12:47:54am UTC 

  1. Error file :
  2.  
  3. Makefile:11: Consider upgrading to GNU make 3.81+ for optimum build performance.
  4. metronome.c: In function 'plugin_start':
  5. metronome.c:1393: warning: passing argument 1 of 'prepare_sound' from incompatible pointer type
  6.  
  7. Here is the call....
  8.  
  9.     prepare_sound(&tickbuffer);
  10.  
  11. the declaration
  12.  
  13.     short tickbuffer[sizeof(tick_sound)*2];
  14.  
  15. and the procedure
  16.  
  17. void prepare_sound(short* soundbuffer)
  18. {
  19.     int i;
  20.     for(i = 0;i < (int)sizeof(tick_sound)/2;i++) {
  21.         soundbuffer[i*2] = tick_sound[i];
  22.         soundbuffer[i*2+1] = tick_sound[i];
  23.     }
  24. }

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right