aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2013-04-29 00:56:47 +0000
committerokan2013-04-29 00:56:47 +0000
commit57691160415590c63cf83db6c021e377df9f1de4 (patch)
treea7bbc6c710858c08b445ad0e571fbe40d9dfef37 /screen.c
parent1474b1efa279e0271abd1fba7efd80869ac96175 (diff)
downloadcwm-57691160415590c63cf83db6c021e377df9f1de4.tar.gz
use an int in screen_init and avoid needing to cast for screen number (which).
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 601d60e..b63367a 100644
--- a/screen.c
+++ b/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: screen.c,v 1.46 2013/04/12 14:46:30 okan Exp $
+ * $OpenBSD: screen.c,v 1.47 2013/04/29 00:56:48 okan Exp $
*/
#include <sys/param.h>
@@ -31,7 +31,7 @@
#include "calmwm.h"
void
-screen_init(u_int which)
+screen_init(int which)
{
struct screen_ctx *sc;
Window *wins, w0, w1;