24fc1b6e56
Fixes quirc on amd64/sparc64/gcc4.
11 lines
349 B
Plaintext
11 lines
349 B
Plaintext
$OpenBSD: patch-format_cc,v 1.1 2010/06/15 16:20:42 landry Exp $
|
|
--- format.cc.orig Tue Jun 15 18:14:46 2010
|
|
+++ format.cc Tue Jun 15 18:15:04 2010
|
|
@@ -405,5 +405,5 @@ void fdisplay(char *type, int server, int arguments, .
|
|
}
|
|
|
|
int fexists(const char *type) {
|
|
- return (int)hash_get(&formats,type);
|
|
+ return (NULL != hash_get(&formats,type));
|
|
}
|