The Samba-Bugzilla – Attachment 4385 Details for
Bug 4960
Fails to compile on QNX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-Change-uint-to-unsigned.patch (text/plain), 4.98 KB, created by
Matt Kraai (mail address dead)
on 2009-07-01 12:44:20 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Matt Kraai (mail address dead)
Created:
2009-07-01 12:44:20 UTC
Size:
4.98 KB
patch
obsolete
>From 062a5665d3f00f99212fc4caa2a7e71dd514af98 Mon Sep 17 00:00:00 2001 >From: Matt Kraai <mkraai@beckman.com> >Date: Wed, 1 Jul 2009 10:38:54 -0700 >Subject: [PATCH] Change uint to unsigned > >--- > source3/include/proto.h | 8 ++++---- > source3/libsmb/clirap2.c | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/source3/include/proto.h b/source3/include/proto.h >index a3ae1dd..3aca23f 100644 >--- a/source3/include/proto.h >+++ b/source3/include/proto.h >@@ -2830,14 +2830,14 @@ bool cli_ns_check_server_type(struct cli_state *cli, char *workgroup, uint32 sty > bool cli_NetWkstaUserLogoff(struct cli_state *cli, const char *user, const char *workstation); > int cli_NetPrintQEnum(struct cli_state *cli, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)); >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)); > int cli_NetPrintQGetInfo(struct cli_state *cli, const char *printer, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)); >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)); > int cli_RNetServiceEnum(struct cli_state *cli, void (*fn)(const char *, const char *, void *), void *state); >-int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, uint, uint, uint, char *)); >+int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, char *)); > int cli_NetSessionGetInfo(struct cli_state *cli, const char *workstation, >- void (*fn)(const char *, const char *, uint16, uint16, uint16, uint, uint, uint, const char *)); >+ void (*fn)(const char *, const char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, const char *)); > int cli_NetSessionDel(struct cli_state *cli, const char *workstation); > int cli_NetConnectionEnum(struct cli_state *cli, const char *qualifier, > void (*fn)(uint16_t conid, uint16_t contype, >diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c >index a15fa5f..fa1f203 100644 >--- a/source3/libsmb/clirap2.c >+++ b/source3/libsmb/clirap2.c >@@ -1899,7 +1899,7 @@ bool cli_NetWkstaUserLogoff(struct cli_state *cli, const char *user, const char > > int cli_NetPrintQEnum(struct cli_state *cli, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)) >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetPrintQEnum_REQ) /* req string */ >@@ -2075,7 +2075,7 @@ int cli_NetPrintQEnum(struct cli_state *cli, > > int cli_NetPrintQGetInfo(struct cli_state *cli, const char *printer, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)) >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetPrintQGetInfo_REQ) /* req string */ >@@ -2335,7 +2335,7 @@ int cli_RNetServiceEnum(struct cli_state *cli, void (*fn)(const char *, const ch > Call a NetSessionEnum - list workstations with sessions to an SMB server. > ****************************************************************************/ > >-int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, uint, uint, uint, char *)) >+int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, char *)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetSessionEnum_REQ) /* parm string */ >@@ -2435,7 +2435,7 @@ int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, > ****************************************************************************/ > > int cli_NetSessionGetInfo(struct cli_state *cli, const char *workstation, >- void (*fn)(const char *, const char *, uint16, uint16, uint16, uint, uint, uint, const char *)) >+ void (*fn)(const char *, const char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, const char *)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetSessionGetInfo_REQ) /* req string */ >-- >1.6.3.2.1299.gee46c >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4960
:
2920
|
4366
|
4385
|
4386
|
4387
|
4596
|
4599
|
4662