ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] select patch


From: Peter Pentchev
Subject: Re: [RP] select patch
Date: Fri, 20 Jun 2014 16:14:40 +0300
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Jun 20, 2014 at 02:43:48PM +0200, Johannes Altmanninger wrote:
> Now I have rewritten find_window_name() again, it is much cleaner this way,
> no need for unnecessary temporary variables anymore :)
> It works the same as before but I still get the "assignment from
> incompatible pointer type" warning...

Take a look at how strncmp() is declared on your system; it is most
probably something like

  int strncmp(const char *s1, const char *s2, size_t len);

Your typedef should be the same.

G'luck,
Peter

-- 
Peter Pentchev  address@hidden address@hidden address@hidden
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]