From 9f1c39469787d53a4071b661622a72902156e313 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 26 Aug 2011 13:24:17 +0900 Subject: [PATCH] Fixed a compilation error in the example --- src/docbook/en-US/module/start.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docbook/en-US/module/start.xml b/src/docbook/en-US/module/start.xml index 492586a969..73a86f4aa7 100644 --- a/src/docbook/en-US/module/start.xml +++ b/src/docbook/en-US/module/start.xml @@ -337,7 +337,7 @@ public class TimeServerHandler extends &SimpleChannelHandler; { &Channel; ch = e.getChannel(); &ChannelBuffer; time = &ChannelBuffers;.buffer(4); - time.writeInt(System.currentTimeMillis() / 1000); + time.writeInt((int) (System.currentTimeMillis() / 1000)); &ChannelFuture; f = ch.write(time);