summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-01-03 01:03:54 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-03 01:03:54 (UTC)
commitca2207bcf18ed5b0dd1a0e370e9973d717ff87c9 (patch) (side-by-side diff)
tree48f451afe046afff90a32b55567a40d7cf26156b
parentf114b9ea0a5cb03d0e9d411090026774d6df44bf (diff)
downloadsitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.zip
sitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.tar.gz
sitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.tar.bz2
fix for request serial
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/sitecing_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h
index f0210d6..a0e1b8a 100644
--- a/include/sitecing/sitecing_interface.h
+++ b/include/sitecing/sitecing_interface.h
@@ -13,32 +13,32 @@ namespace sitecing {
/**
* @brief the interface to site-C-ing.
*
* The basic class used to convey communications between the component and
* the sitecing core.
*/
class sitecing_interface {
public:
/**
* Pointer to the output stream.
*/
ostream *out;
/**
* Serial number of request being processed.
*/
- long serial;
+ unsigned long serial;
/**
* The default constructor doesn't do much.
*/
sitecing_interface() : out(0), serial(0) {}
/**
* The constructor initializes the output stream pointer.
* @param o the value to initialize the output stream pointer with.
*/
- sitecing_interface(ostream* o) : out(o) {}
+ sitecing_interface(ostream* o) : out(o), serial(0) {}
};
}
#endif /* __SITECING_SITECING_INTERFACE_H */